Parentheses surrounding a boolean expression are removed from CEL statement when the Node is copy and pasted in the NodeGraph tab.
Customer reported version
Katana 3.0v9
Customer reported platform
ubuntu
Steps to reproduce
1) Create a Prune node.
2) Within the Prune node parameters, click "Add Statement" and add a Custom expressions parameter.
3) Add the following code: /root/world//*{@name == "primitive" and (@type == "polymesh" or @type == "instance")}
4) Within the NodeGraph tab, copy and paste the Prune node and then compare CEL expressions.
Expected behaviour
The copied Prune node would have the same CEL expression as the original.
Expected result: /root/world//*{@name == "primitive" and (@type == "polymesh" or @type == "instance")}
Actual behaviour
The copied Prune node is missing the parentheses surrounding the boolean expression.
Actual result: /root/world//*{@name == "primitive" and @type == "polymesh" or @type == "instance"}
Workaround
Unknown.
Reproduced by support
This bug has been reproduced in:
Katana 8.0v1 - Windows 10
Katana 3.6v2 - Windows 10
Katana 3.6v1 - Windows 10
Katana 3.5v4 - Windows 10
Katana 3.5v1 - Windows 10
Katana 3.2v6 - Windows 10
Katana 3.1v1 - Windows 10
Katana 3.0v9 - Windows 10
Katana 3.0v1 - Windows 10
Katana 2.5v1 - Windows 10
Earliest version tested
Katana 2.5v1- This issue appears to be in all versions of the product