ID 386773 - Undoing an expression linked node does not remove the Node Graph expression link

Follow

Problem summary
Within Nuke, attempting to undo a newly created knob expression link does not remove the Node Graph expression link.
The expression is removed as expected, yet the link stays in the viewport.

Looking up the dependency with the following snippet, displays the nodes are still dependant:
selectedNode = nuke.selectedNode()
print selectedNode.dependencies()

This issue is regressive with Nuke11.0v4

Customer reported version
nuke.11.2v3

Customer reported platform
centos7

Steps to reproduce

1) Open Nuke, create 2 Grade nodes

2) Change the Multiply on the first Grade node to anything ( 0.5 for this test )

3) Using the animation curve icon, CTRL+Left-Click drag and drop the icon into the second Grade node's Multiply knob.

The nodes should be linked with an expression.


4) Undo the last option.



Result: The expressions are undone, yet the links are still displayed on both objects.

Expected behaviour
Undoing an expression should remove the expression link

Actual behaviour
Undoing the expression leaves the expression link.

Workaround
Modifying the knobs which were given the expression link, removes the link.
Please Note: This appears to only occur in Nuke11.1v2 and higher.

Reproduced by support

This bug has been reproduced in:
Nuke11.3v3- Windows 7 - Mac10.13 - CentOS7
Nuke11.3v1 - Windows 7
Nuke11.2v1 - Windows 7
Nuke11.1v2 - Windows 7 - ( Minor regression, the link can be removed with the workaround )
Nuke11.1v1 - Windows 7
Nuke11.0v4 - Windows 7 - Mac10.13 - CentOS7 - regression

Unable to reproduce the bug in:
Nuke11.0v3 - Windows 7 - Mac10.13 - CentOS7

Earliest version tested
- This issue no longer appears in this version and has regressed

    We're sorry to hear that

    Please tell us why