ID 511253 - node.attachViewer command only works for nodes in the root Node Graph

Follow

Problem summary
node.attachViewer command only works for nodes in the root Node Graph
 
Customer reported version
Mari 4.8v3
 
Customer reported platform
CentOS 7
 
Steps to reproduce
 
1) Open any project

2) Create a Cloud node

3) Group the Cloud node
 
4) With the Group selected, run the following script:
 

nodeGraph = mari.geo.current().nodeGraph() for group in nodeGraph.selectedNodeList():     subNodeGraph = group.childNodeGraph()     for node in subNodeGraph.nodeList():         if 'Cloud' in node.name():             print(node.name())            node.attachViewer()
 
Expected behaviour
The Viewer node should be connected to the Checkerboard node inside the group, and the Output from this node should be visible in the viewport.
"Cloud" should be printed in the Python Console.
 
Actual behaviour
"Cloud" is printed in the console, but nothing else seems to occur.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v3 - Windows 10 - CentOS 7.9
Mari 4.8v3 - Windows 10
Mari 4.7v1 - Windows 10
Mari 4.5v1 - Windows 10
Mari 4.2v2 - Windows 10
Mari 3.0v1 - Windows 10 - CentOS 7.9
 
Earliest version tested
Mari 3.0v1 - This issue appears to be in all versions of the product
 

    We're sorry to hear that

    Please tell us why