ID 402006 - Custom Locators do not store values when a project is saved, closed and re-opened.

Follow

Problem summary
Custom created locators will not store values when a project is saved, closed and re-opened.

In addition, on close of the project in Mari 4.2 releases or higher, a crash will occur.

Customer reported version
4.5v1

Customer reported platform
windows10

Steps to reproduce

1) Download the attached custom locator .xml file (or use your own)

2) Open the example head project with Mari

3) Open the Script Editor and paste in the following snippet, replacing path\to\ with the location to your custom locator.
mari.gl_render.registerCustomNodeFromXMLFile('LocatorTest', 'path\to\customLocator.xml')

4) Run the snippet within the Script Editor by pressing 'ctrl + enter'

5) Within the Node Graph, tab in the newly created 'LocaterTest' node

6) Within the 'LocatorTest' node properties, create some numberic values with the translate, rotate or scale fields.

7) Save and close the project
Result: Mari will crash on close in 4.2 releases and later

8) Reopen the project and reopen the 'LocatorTest' node properties
Result: The values entered before saving have been reset to 0 values.

Expected behaviour
Mari should be able to store to locator values once entered and not crash on closing

Actual behaviour
Mari unable to store to locator values once entered and crashes when closing

Workaround
Unknown.

Reproduced by support
This bug has been reproduced in:
Mari 4.5v1 - Windows 7 - CentOS 7
Mari 4.2v1 - Windows 7
Mari 4.0v1 - Windows 7
Mari 3.4v1 - Windows 7
Mari 3.3v1 - Windows 7
Mari 3.2v1 - Windows 7
Mari 3.1v1 - Windows 7
Mari 3.0v3 - Windows 7 - CentOS 7


Unable to reproduce bug in:
Mari 3.0v2 - Windows 7 - CentOS 7

Earliest version tested
Mari 3.0v3
- Custom locators did not allow values to be entered before this version

    We're sorry to hear that

    Please tell us why