ID 306493 - cloning a read node that has custom knobs using 'copy as clones' causes an error message stating that 'no such knobs' exist.

Follow

Problem summary
When you clone a custom read node that has custom knobs using the 'copy as clones' option, either through the 'edit>copy as clones' or the shortcut 'ctrl+k' you will get an error stating 'no such knobs'.


Customer reported version
nuke.10.0v5

Customer reported platform
multiple OS's

Steps to reproduce

1) Write out a checkerboard as 'test.exr' with 'all' channels set (the remainder attributes to remain default)

2) Read back in the 'test.exr' file

3) tick a custom knob checkbox, for example the 'do not attach prefix' works well

4) Clone the node by right-clicking on the read node and selecting 'edit>copy as clones' or using the 'ctrl+k' shortcut

5) Paste the new cloned read node by by right-clicking in the node graph and selecting 'edit>paste' or using the 'ctrl+v' shortcut
Result: You will get an error message saying 'no such knobs', on any custom knob values

Workaround
A workaround would be to clone the node using 'edit>clone' option or using the 'alt+k' shortcut. This seems to not cause the error.

Reproduced by support
This problem has been reproduced on:

Nuke 11.0v1 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.5v5 - Windows 7
Nuke 10.5v1 - Windows 7
Nuke 10.0v5 - Windows 7 - MacOSX 10.12 - CentOS 6.9
Nuke 10.0v1 - Windows 7
Nuke 9.0v9 - Windows 7 - works correctly

Earliest version tested
Nuke 9.0v9 - worked correctly before Nuke 10.0v1

Expected behaviour
'copy as clone' operation should not cause an error message with custom knobs not being referenced

Actual behaviour
'copy as clone' operation causes an error message with custom knobs not being referenced

    We're sorry to hear that

    Please tell us why