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.




James Dempsey
September 30, 2012, 3:13 PM

I've added a specific error message. Note that loading the source with the typo is unlikely to work, even on windows.

Dave Griffin
March 30, 2012, 4:11 AM

fair point.
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?

Tom Parker
March 29, 2012, 3:40 PM

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.

Dave Griffin
March 20, 2012, 6:20 PM

ignore the 'Tip'7' reference, that's for a separate bug

Your pinned fields
Click on the next to a field label to start pinning.


James Dempsey


Dave Griffin