ID 472255 - Pasted or imported Material nodes in a Stream Collapsed state only connect one stream to MCM or MCBP nodes

Follow

Problem summary
Pasted or imported Material nodes in a Stream Collapsed state only connect one stream to MCM or MCBP nodes

Customer reported version
Mari 4.7v1

Customer reported platform
Linux n/a

Steps to reproduce

1) Open any project

2) Create a Material node and a Multi-Channel Bake Point node

3) Inside the Material node, position the second Output node above the first Output node (e.g. For Principled BRDF, move the 'Metl' Output above the 'Base' Output)

4) In the Root NodeGraph, copy and paste the Material node

5) With the pasted Material node in its Stream Collapsed state, connect the output to the MCBP input

A Multi-Channel Merge node should be used instead of a MCBP to reproduce the bug in earlier Mari versions than 4.7v1.

The Material can also be exported and then imported instead of being copied and pasted.

Expected behaviour
All of the pasted Material's output streams should be connected to the MCBP node's inputs.

Actual behaviour
Only the first of the pasted Material's output streams is connected to the first MCBP node input.

​​

Workaround
A. Change the Material node to its Not Collapsed state, and it will connect all the streams to MCBP and MCM nodes
B. Reposition the Output nodes to the default top to bottom order, then copy and paste the Material. The pasted Material will connect properly.
Reproduced by support
This bug has been reproduced in:
Mari 4.7v2 - Windows 10 - CentOS 7.7
Mari 4.7v1 - Windows 10 - CentOS 7.7
Mari 4.6v1 - Windows 10 - CentOS 7.7

Earliest version tested
Mari 4.6v1- This feature did not exist before this version

    We're sorry to hear that

    Please tell us why