Warning due to case sensitivity on PCC reference
Using the latest autobuild, I discovered that within one PCC I had specified a sub-PCC include and mistakenly referred to it in upper case, while the actual file name was in lower case.
This gave an error:
00:10:28.534 SEVERE main Globals:1417 Loaded Campaigns with matching names (FRCS Forgotten Realms Campaign System) at different Locations: file:/D:/MyDocs/Dave/PCGen_Data/DaveDatasets/DnD_DG_Custom_35/FRCS_ForgottenRealms_Campaign_System/frcs.pcc file:/D:/MyDocs/Dave/PCGen_Data/DaveDatasets/DnD_DG_Custom_35/FRCS_ForgottenRealms_Campaign_System/FRCS.pcc
The PCC was only referenced once, so there's no duplication involved, but it DOES load the dataset (did before without any warning too).
The error message ought to indicate that no such PCC could be found (as the case is wrong) rather than complaining about duplication where there is none.
Tip#7 The deity editor is in the Tools-->List Editors menu.
I've added a specific error message. Note that loading the source with the typo is unlikely to work, even on windows.
Could the OS type be checked before flagging a severe error though? Or perhaps the wording of the error could be altered to suggest a possible case issue?
Unfortunately, I'm not sure this can properly be categorized as a bug. The problem is that some underlying operating systems ARE case sensitive, so the following items would be a valid error.
ignore the 'Tip'7' reference, that's for a separate bug