ID 508063 - Calling another node in a callback creates expression link arrows which should not be there

Follow

Problem summary
Calling another node in a callback creates expression link arrows which should not be there
 
Customer reported version
nuke.12.2v3
 
Customer reported platform
windows
 
Steps to reproduce
 
1) Open Nuke
 
2) Run the following code in the Script Editor:
 

def test():    for n in nuke.allNodes():        nuke.toNode(n.name())nuke.addOnCreate(test)
 
3) Create some nodes, like Grade nodes, they all have false expression links
 
Expected behaviour
For the nodes to be created without expression links:

 
Actual behaviour
The nodes have expression links between them:

 
Workaround
set Expression Re-Evaluation to Always in Edit>Preferences...>Performance>Expressions>Mode
 
Reproduced by support
This bug has been reproduced in:
Nuke 13.2v1 - Windows 10, macOS Big Sur, CentOS 7
Nuke 12.0v1 - Windows 10, macOS Big Sur
 
Unable to reproduce bug in:
Nuke 9.0v1 - Windows 10, macOS Big Sur - regression
 
Earliest version tested
Nuke 9.0v1 - This issue doesn't appear in this version and has regressed between Nuke 12 and Nuke 9
 

    We're sorry to hear that

    Please tell us why