From: James Dempsey <firstname.lastname@example.org>
On 6/07/2014 5:51 AM email@example.com [pcgen_developers] wrote
> Do we have know why we have to clone a character every fraction of a second to have it output correctly?
> Can we open a JIRA with the details so we can get a better strategic solution?
I placed the cloning there some time ago to get around the issue of preparePCForOutput causing changes to the displayed character. A major issue was skills jitter with the available skills tab jumping around crazily.
Now with the skills issue corrected and abilities are no longer cloned we may be able to turn the cloning off. A quick change in pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter() will achieve that.
Lets try it out after tonight's release and see if there are any remaining reasons for cloning.
ConcurrentModificationExceptions were the other bane of output on the same character. In my testing of turning off cloning these are still occurring:
Removing cloning also caused some odd error for a couple of pathfinder integration tests.
Expected text value '30 ft. by 30 ft.' but was '5 ft. by 5 ft.' at /character/basics/faceface/text()
Expected text value '7567.45 gp' but was '7565.45 gp' at /character/equipment/total/value/text()
I will halt work on this issue for now as other things are more important for the 6.4 release.