We are having problem with LLIAPI:LLIapi Root: NodeCallbacks: SystemFacets:DateMOdifed.CBMovePre as it sets dapiCtx.fStatus to undefined intermittently.
In NodeMove of LLIAPI, we added debug code like this:
------------
//
// Move the node.
//
if ( ok )
echo()
echo()
echo()
echo()
echo()
echo()
echo( 'Look for me!!!!' )
echo()
dapiCtx.fStatus.MoveInfo = moveInfo
echo( dapiCtx.fStatus )
if ( dapiCtx.StartTrans() )
//
// Pre-callbacks.
//
for cb in .GetCallbacks('CBMovePre')
checkVal = cb.CBMovePre( node, moveInfo, context )
echo( cb )
echo( dapiCtx.fStatus )
echo()
------------
We then use item handler In a workflow to move document. The wfagent thread log shows this:
----------
06/04/2014 14:27:10 Look for me!!!!
06/04/2014 14:27:10
06/04/2014 14:27:10 A<1,?,'AssociatedVolumesMoved'=A<1,?>,'DestParentNode'=U<DAPINode(-72)=0000000044A05BE0>,'DestRootSubType'=161,'MoveInfo'=A<1,?,'addVersion'=false,'AttrCacheID'=0,'AttrHandling'=false,'attrSourceType'=0,'DapiCtx'=#423ccf3,'forcePermInherit'=false,'LLParent'=#8901f3e0,'names'=A<1,?,'en_US'='Z4020'>,'NewNodeName'='Z4020','oldNames'=A<1,?,'en_US'='Z4020'>,'ParentNode'=U<DAPINode(-72)=0000000044A05BE0>,'PathToDestRoot'='Attachments:Source:Z4020','PathToMoveRoot'='Enterprise:Controlled Documents - OLD:Source Documents:SPEC - Raw Material Specification','RMClassInherit'=true>,'Node'=U<DAPINode(-72)=0000000044A08A20>>
06/04/2014 14:27:10 #423cc93
06/04/2014 14:27:10 ?
06/04/2014 14:27:10
----------
#423cc93 is a temp object of LLIAPI:LLIapi Root: NodeCallbacks: SystemFacets:DateMOdifed, 2 out of 11 calls, it sets dapiCtx.fStatus to undefined like this therefore led to stack crawl. It's more likely to happen when multiple workflow instances are running at same time.
Any idea?
Thanks