-
Bug
-
Resolution: Unresolved
-
Minor
The ItemGroupMixin calls save() on a newly created item before it adds the item to the parent ItemGroup - see code.
Unfortunately the call to save will trigger SaveableListener.onChange() to be called.
The issue here is the Object that gets passed to the SaveableListener will have a parent that knows nothing about this Item.
Arguably onChange() should not even be called for the item - as by definition it has not changed - just been born.
Note this was observed whilst inspecting code around a proprietary plugin.