ID 600497 - LiveGroup callbacks like LIVEGROUP_CALLBACK_PUBLISHED are not serialized correctly

Follow

Problem summary:
LiveGroup callbacks like LIVEGROUP_CALLBACK_PUBLISHED are not serialized correctly
 
Customer reported version:
Nuke 15.1v5
 
Customer reported platform:
Alma 8
 
Steps to reproduce:
1) Launch Nuke and open the Script Editor window
2) Run the following code to create a LiveGroup with a LiveGroup callback:

lg = nuke.createNode('LiveGroup') with lg:     nuke.createNode("ColorWheel")     nuke.createNode("Output") lg.addCallback(nuke.LIVEGROUP_CALLBACK_PUBLISHED, lambda x: print(f"PUBLISHED callback executed")) lg.addCallback(nuke.LIVEGROUP_CALLBACK_MADE_EDITABLE, lambda x: print(f"EDITABLE callback executed")) lg.addCallback(nuke.LIVEGROUP_CALLBACK_RELOADED, lambda x: print(f"RELOADED callback executed"))
3) Publish the LiveGroup, make it Editable, and Reload it, noting how the callbacks are executed as expected in the Script Editor
4) Copy and Paste the LiveGroup, and observe how the callbacks were not saved during the Copy action. Alternatively, save, close, and reopen the Nuke script, and observe how the callbacks no longer exist.
 
Expected behavior:
LiveGroup specific callbacks added to a LiveGroup node should always be saved and preserved.
 
Actual behavior:
LiveGroup specific callbacks are only available during the Nuke session in which they were created, and only on the node for which they were attached. 
 
Workaround:
No known workaround at this time.
 
Reproduced by Support in:
Nuke 16.0v3 - Windows 11, macOS 14 Sonoma
Nuke 15.0v1 - Windows 11
Nuke 14.0v1 - Windows 11
Nuke 13.0v1 - Windows 11
 
Earliest version tested:
Nuke 13.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why