Originally Posted by
Zarestia
Identified a bug while developing an extension.
1. Create two custom modules with classes, export them
2. Load module1 and add the first listed class to a character
3. Unload module1 and load module2
4. Redrag the class which already exists but is not loaded in charsheet_classes window to do a levelup.
5. Now, the first class of module2 gets added
I can do a short video if that helps understanding it.
The reason for this happening should be that exporting via FGU generates no names like in the Basic Rules 3.5e module but IDs in the database path.
The addClass() function in manager_char.lua compares the names but not the modules. Hence FGU thinks id-0001@module1 is the same as id-0001@module2, although they're of different books.