Using Version 10.2 (1763) on OSX
i try to insert and remove helpers to an object at runtime. first, i assign one helper to an object, this helper is always used.
helpers of the object before inserting a new helper
put the helpers of oParser (/Users/KLTA/Documents/TestAction.suite/Scripts/Global/Common/Parser.script)
insert oRun into the helpers of oParser put the helpers of oParser (/Users/KLTA/Documents/TestAction.suite/Scripts/Global/Common/Parser.script,Object <2d9c2a40>)
ok, so i assume that “Object<>” is the object oRun i inserted. i tried to call a function which does not exist in my Parser.script and the function was called in the helper object oRun, so it works.
now i try to dynamically insert and remove helpers from the oParser object with the only difference, that i am inside the Parser.script (so “me” is the Parser.script)
delete oPlatform from the helpers of me put new platformScript into oPlatform insert oPlatform into the helpers of me delete oProject from the helpers of me put new projectScript into oProject insert oProject into the helpers of me
after this lines i would think, that two new objects were inserted as helpers but
put the helpers of me (/Users/KLTA/Documents/TestAction.suite/Scripts/Global/Common/Parser.script,Object <2d9c2a40>)
eggPlant only shows only the first inserted helper “oRun”.
Could you please tell if i am wrong and this works as designed or if its a problem within eggplant?
thx in advance