ID 370733 - The link between a node and a Group's input which contains a space character in its name, is breaking when reimported

Follow

Problem summary
When connecting a node to an input node which contains a space character in its name from inside of a Group, then exporting the nodes and reimporting them back, breaks the connection link between the nodes.


Customer reported version
n/a

Customer reported platform
n/a

Steps to reproduce

1) Open Mari 

2) Open an example project

3) Open the Node Graph

4) Create a Group node

5) Double click on the Group node and go to the Group tab which can be found on the left top side of the Node Graph

6) Inside of the Group node, create an Input node

7) Rename the Input node name to something that contains the space character i.e. "test input"

8) Go back to the root graph and create any node that can be connected to the input node in the group i.e Color node or similar             

9) Link the created node to the "test input" 

10) Select the Group and the Color node

11) Right click on the nodes and go to File>Export Nodes

12) Import the nodes back in using right click on the Node Graph>File>Import Nodes

13) The link which has been created in step 8 does not exist anymore

Workaround
Rename the input node with something that does not contain the space character i.e. "testInput"

Reproduced by support
This bug has been reproduced in:
Mari 4.2v1- Windows 10 - CentOS 7 
Mari 4.0v1- Windows 10
Mari 3.4v2- Windows 10
Mari 3.0v4- Windows 10 - CentOS 7

Earliest version tested
Mari 3.0v4 - This issue appears to be in all versions of the product

Expected behaviour
The nodes to be imported with the appropriate links, regardless of the Input's naming: 




Actual behaviour
The link between the node and the input node which contains a space character in it's name, is breaking when the nodes are reimported.



    We're sorry to hear that

    Please tell us why