Allow standard SOURCE tags to be present in ABILITYCATEGORY file

Description

SOURCE tags should be allowed in ABILITYCATEGORY files; it deviates from Standard form and causes these nasty errors.

Either Exit gracefully, or have ABILITYCATEGORY ignore them.

07:31:23.961 SEVERE Thread-3 AbilityCategoryLoader:154 Invalid sub tag SOURCELONG on ABILITYCATEGORY line
07:31:23.993 SEVERE Thread-3 LstSystemLoader:476 Exception loading files.
pcgen.persistence.PersistenceLayerException: Invalid sub tag SOURCELONG on ABILITYCATEGORY line
at pcgen.persistence.lst.AbilityCategoryLoader.parseLine(AbilityCategoryLoader.java:156)
at pcgen.persistence.lst.AbilityCategoryLoader.parseLine(AbilityCategoryLoader.java:171)
at pcgen.persistence.lst.LstLineFileLoader.loadLstString(LstLineFileLoader.java:109)
at pcgen.persistence.lst.LstLineFileLoader.loadLstFile(LstLineFileLoader.java:81)
at pcgen.persistence.lst.LstLineFileLoader.loadLstFiles(LstLineFileLoader.java:137)
at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.java:521)
at pcgen.persistence.lst.LstSystemLoader.loadCampaigns(LstSystemLoader.java:445)
at pcgen.persistence.PersistenceManager.loadCampaigns(PersistenceManager.java:190)
at pcgen.gui.sources.MainSource.loadCampaigns(MainSource.java:1308)
at pcgen.gui.sources.MainSource.access$1800(MainSource.java:135)
at pcgen.gui.sources.MainSource$20.construct(MainSource.java:1324)
at pcgen.util.SwingWorker$2.run(SwingWorker.java:144)
at java.lang.Thread.run(Thread.java:595)

Environment

None

Status

Assignee

Unassigned

Reporter

Andrew Maitland

Labels

None

Source Books

None

Data/LST Monkey

None

Theme

None

Theme

None

Dependent Data

None

Subtype

None

Contact Person

None

Email

None

Publisher Website

None

Permission Level

None

Epic/Theme

None

Pending User Input

None

Fix versions

Priority

Minor
Configure