ID 588491 - Nodes downstream of a Group get disconnected on paste/script open, if the Group contains a Switch node and a different data type on input 0

Follow

Problem summary
Nodes downstream of a Group get disconnected on paste/script open, if the Group contains a Switch node and a different data type on input 0.
 
Customer reported version
Nuke 14.0v6
 
Customer reported platform
Rocky 9
 
Steps to reproduce
 
1) Create a CheckerBoard node and a Camera node.
 
2) Create a Switch node. Connect input 0 to the Camera, and input 1 to the CheckerBoard.
 
3) Set the Switch node's which knob to 1 (ie. the CheckerBoard's input).
 
4) Collapse all nodes into a Group.
 
5) Connect a Grade node to the Group.
 
6) Copy and paste the Group and Grade nodes.
 
Expected behaviour
The Grade should be connected to the Group. As the Switch is currently set to the CheckerBoard, 2D nodes should be able to be connected downstream of the Group.
 
Actual behaviour
The Grade is disconnected from the Group when pasted.
This happens seems to happen regardless of the data types used upstream of the Switch (2D and 3D, Deep and 3D, 2D and Deep, etc.).
In this example, if the CheckerBoard is on Switch input 0, the issue no longer occurs.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Nuke 15.1v3 - Windows 11 - macOS 12
Nuke 12.0v1 - Windows 11 - macOS 12
 
Earliest version tested
Nuke 12.0v1
- This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why