Kit LevelAbility ABILITY:PROMPT not working

Description

Any use of the ABILITYROMPT syntax in kits to assign a feat from an ADD:FEAT in a class generates the error:
String in getAbilitySelectionFromPersistentFormat must start with CATEGORY=

This is James description of what's going wrong:
------------------ Here's the call stack that produces that error:
at pcgen.cdom.helper.CategorizedAbilitySelection.getAbilitySelectionFromPersistentFormat(CategorizedAbilitySelection.java:324)
at plugin.lsttokens.add.FeatToken.decodeChoice(FeatToken.java:346)
at plugin.lsttokens.add.FeatToken.decodeChoice(FeatToken.java:1)
at pcgen.cdom.base.ConcretePersistentTransitionChoice.decodeChoice(ConcretePersistentTransitionChoice.java:124)
at plugin.lsttokens.kit.levelability.AbilityToken.parseToken(AbilityToken.java:103)
at plugin.lsttokens.kit.levelability.AbilityToken.parseToken(AbilityToken.java:1)
at pcgen.rules.persistence.TokenSupport.processToken(TokenSupport.java:62)
at pcgen.rules.context.LoadContext.processToken(LoadContext.java:262)
at pcgen.rules.persistence.CDOMSubLineLoader.parseLine(CDOMSubLineLoader.java:77)
at pcgen.rules.persistence.CDOMKitLoader.subParse(CDOMKitLoader.java:120)
at pcgen.rules.persistence.CDOMKitLoader.parseSubLine(CDOMKitLoader.java:80)
at pcgen.persistence.lst.KitLoader.parseLine(KitLoader.java:205)
at pcgen.persistence.lst.KitLoader.parseLine(KitLoader.java:1)
at pcgen.persistence.lst.LstObjectFileLoader.loadLstFile(LstObjectFileLoader.java:448)
at pcgen.persistence.lst.LstObjectFileLoader.loadLstFiles(LstObjectFileLoader.java:117)
at pcgen.persistence.SourceFileLoader.loadCampaigns(SourceFileLoader.java:606)
at pcgen.persistence.SourceFileLoader.loadCampaigns(SourceFileLoader.java:479)
at pcgen.persistence.SourceFileLoader.execute(SourceFileLoader.java:214)
at pcgen.gui2.PCGenStatusBar$TaskExecutor.construct(PCGenStatusBar.java:167)
at pcgen.gui2.PCGenStatusBar$TaskExecutor.construct(PCGenStatusBar.java:1)
at pcgen.gui2.util.SwingWorker$2.run(SwingWorker.java:146)
at java.lang.Thread.run(Thread.java:662)
Now, what is happening is that plugin.lsttokens.kit.levelability.AbilityToken.parseToken(LoadContext, KitLevelAbility, String) is not using the category when it is passing on the feat choice. Once that is fixed the initial application will work,but the persistence in the character will have to be checked also.
Cheers,
James.
---------------- I haven't really tested it, but according to maredudd it's also going wrong in 5.16

Cheers

Adriaan Renting/RogerWilco

Environment

I'm using OSX 10.7 although I don't have the feeling it's relevant to the issue

Activity

Show:
Adriaan Renting
April 1, 2013, 5:46 PM

I found that I also reported this problem in September 2011: http://tech.groups.yahoo.com/group/PCGenListFileHelp/message/21787

Some people looked into it then, I can't find a bug report for it in JIRA, but it's possible there is one I missed.

Tom Parker
November 26, 2013, 9:43 PM

Committed revision 22373.

Fixed

Assignee

Tom Parker

Reporter

Adriaan Renting

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure