Thread: Issue with Merge Delete
-
July 16th, 2018, 00:22 #1
Issue with Merge Delete
Im getting one error on opening each character sheet once per session in a MoreCore extension
Ruleset Error: windowlist: Could not find windowclass () for control (spell_list) in windowclass (charsheet_more)
the original ruleset code is:
Code:<list_text name="spell_list"> <anchored to="spellsframe"> <left offset="10" /> <top offset="30" /> <right offset="-4" /> <bottom offset="-10" /> </anchored> <newfocus>name</newfocus> <datasource>.spelllist1</datasource> <class>spell_rolls</class> <acceptdrop> <class>spells</class> <class>referencetext</class> <class>referencetextwide</class> <field>*</field> </acceptdrop> </list_text>
Code:<list_text name="spell_list" merge="delete" />
-
July 16th, 2018, 00:44 #2
What merge rule do you have set <windowclass> entry that control is in within your extension?
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 16th, 2018, 01:14 #3
-
July 16th, 2018, 01:23 #4
In the example I can see in 5E, I don't see a join parameter for <sheetdata>. In fact, searching through the 5E and 3.5E ruleset I don't see a merge parameter in <sheetdata> anywhere.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 16th, 2018, 02:12 #5
-
July 16th, 2018, 06:37 #6
Maybe some lua onInit is referencing spell_list control and tries to iterate its children through. Have you merge=deleted spell_rolls as well? If you have, you could try not to delete it and see if the issue occurs.
Ps: you don't need to give merge rules to sheetdata, and probably should not. I don't know the soul life of FG engine but unless it's special case there might be "hidden" default merge rule defined for it and you don't want to alter it."Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
July 16th, 2018, 07:26 #7
Thanks Trenloe and Ikael
I had merge=deleted the spell_rolls as well.
Ill keep plugging away at it
-
July 16th, 2018, 09:55 #8
Im not sure but a close and restart of FG seems to have resolved the error?
I had moved on to other areas of the code and as far as I can see the code is still as above but is working.
-
July 16th, 2018, 17:28 #9Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 16th, 2018, 22:52 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks