Problem summary
Setting
forceArray='True' on sortableArray widget-type parameters does not make them arrays in NodeTypeBuilder nodes
Customer reported version
Katana N/A
Customer reported platform Steps to reproduce
1) From the Python tab use
Script->Source File... from the menu bar to run the attached
sortableArray.py script to register the SortableArray node
2) Create a SortableArray node in the NodeGraph
3) Enter
NodegraphAPI.GetNode('SortableArray').getParameters().getXML() into the Python tab
Expected behaviour
Python console outputs:
<group_parameter name="SortableArray"> <stringarray_parameter name="myParam" size="1" tupleSize="1"> <string_parameter name="i0" value="myValue"/> </stringarray_parameter></group_parameter>
Actual behaviour
<group_parameter name="SortableArray"> <string_parameter name="myParam" value="myTestValue"/></group_parameter>
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
3.6v1 - CentOS 7 - Windows 10
3.5v3 - CentOS 7 - Windows 10
3.5v1 - CentOS 7 - Windows 10
3.2v4 - CentOS 7 - Windows 10
3.1v1 - CentOS 7 - Windows 10
3.0v1 - CentOS 7 - Windows 10
2.5v1 - CentOS 7 - Windows 10
2.0v1 - CentOS 7 - Windows 10
Earliest version tested
2.0v1 - This issue appears to be in all versions of the product