ID 608550 - Groups can eject their contents into the main Node Graph if the show_group_view or disable_group_view knobs are expression linked and nodes have been saved in a particular order

Follow

Problem summary:
Groups can eject their contents into the main Node Graph if the show_group_view or disable_group_view knobs are expression linked and nodes have been saved in a particular order
 
Customer reported version:
Nuke 16.0v4
 
Customer reported platform:
Windows N/A
 
Steps to reproduce:
1) Launch Nuke and past the following nodes into the Node Graph:

push $cut_paste_input Group {  name Group1  selected true  xpos 100  ypos -200  show_group_view {{NoOp1.test}} }  Input {   inputs 0   name Input1   xpos 0  }  Output {   name Output1   xpos 0   ypos 300  } end_group push $cut_paste_input NoOp {  name NoOp1  selected true  xpos 100  ypos -250  addUserKnob {20 User}  addUserKnob {6 test +STARTLINE}  test true }
2) Observe the Group1.show_group_view: Nothing is named "NoOp1" error that occurs, and how the Group's Input and Output nodes now reside in the main Node Graph:
 
Expected behavior:
Group View knobs such as show_group_view and disable_group_view should accept expressions and resolve correctly regardless of node order. 
 
Actual behavior:
If the show_group_view and disable_group_view knobs have expressions which reference another node and that node is created after the Group, the Group will report an error and empty its contents into the main Node Graph. 
 
Workaround:
No known workaround at this time.
 
Reproduced by Support in:
Nuke 16.0v6 - Windows 11, macOS 14 Sonoma
Nuke 16.0v1 - Windows 11
Nuke 15.2v1 - Windows 11, macOS 14 Sonoma
 
Earliest version tested:
Nuke 15.2v1 - This feature (GroupView) did not exist before this version

    We're sorry to hear that

    Please tell us why