State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:4.5v6|BugID:411783|
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:
Expected behaviour:
The callbacks should be called.
Actual behaviour:
The callbacks are not called.
Workaround:
No known workaround.
Tested versions/platforms:
Customer version/platform:
Not supplied
We're sorry to hear that
Please tell us why