ID 411783 - preLiveGroupPublish and postLiveGroupPublish callbacks inconsistently called between UI and Python scripting

Follow

Problem summary:

The preLiveGroupPublish and postLiveGroupPublish callbacks are not called consistently between different methods.  If you go through the UI, or the LiveGroupActionDelegate (which is what the UI path uses), you will get a UI dialog, and the callbacks will be called at appropraitely. 
However, if we use Python and use:

from Katana import Callbacksdef beforeCallback(**kwargs):    print("Before")def afterCallback(**kwargs):    print("After")Callbacks.addCallback(Callbacks.Type.preLiveGroupPublish, beforeCallback)Callbacks.addCallback(Callbacks.Type.postLiveGroupPublish, afterCallback)liveGroupNode = NodegraphAPI.GetNode("LiveGroup")liveGroupNode.publishAsset("your/file/path/file.livegroup")

None of the callbacks are called.


This is not the same with other node types with pre and post publish callbacks, such as the LookFileBake node.

Steps to reproduce:

  1. Create a callback to preLiveGroupPublish and postLiveGroupPublish.
  2. Publish a LiveGroup node using Python scripting (see code above).

Expected behaviour:

The callbacks should be called.

Actual behaviour:

The callbacks are not called.

Workaround:

No known workaround.

Tested versions/platforms:

Reproduced:
  • Katana 5.0v3
  • Katana 4.5v3
  • Katana 4.0v1
  • Katana 2.1v1

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why