Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have an event handler (i.e. a StandardManager subclass).
In response to aFolderServiceEvent.POST_CHANGE_FOLDER event,a method is called which, for the target document, change its lifecycle state as follows:
LifeCycleHelper.service.setLifeCycleState((LifeCycleManaged) targetDoc, State.toState("INWORK"));
This fires another event (LifeCycleServiceEvent.STATE_CHANGE) which invokes another method that reads some of the documents attributes but, in this case, makes to changes to it.
Both the event handler methods complete without error.
But an error dialog is displayed saying:The object was stale: "BSD Kno - BSD0000065, -.1"
Suggestions would be most appreciated!
Thanks,
Derek
