Description:
Attempting to XOG in a project and getting this error message in the APP log and the XOG fails.
niku.schedulers (XOG::project::write) getTaskUID(): Cannot find task UID on the 1221th task
Steps to Reproduce:
Expected Result: .
Actual Result: niku.schedulers (XOG::project::write) getTaskUID(): Cannot find task UID on the 1221th task.
Solution:
Looking into the XOG Write File; there is no task with an ID or orderID with the value = '1221'. We did locate a task with an orderID="122". This task is a 'Deleted Task' (~dtp). We searched the XOG Write file and found a duplicate task with the same name and task id, different orderID value.
Once we changed/removed the duplicate task, the XOG write action was successful.
XOG Write File snippet:
Searched for "122"
Found on line 2504:
<Task chargeCodeExtID="operating" finish="2011-07-22T17:00:00" key="false" lastUpdatedBy="xoguser1" lastUpdatedDate="2011-10-19T22:43:15" lockedForScheduling="true" fixed="true" milestone="false" name="Deleted Tasks" orderID="122" outlineLevel="2" percComp="0" start="2011-05-09T08:00:00" status="0" summary="true" taskID="~dtp" userText1="5131037"> </Task>
The details of task orderID="122" is noted above; if we search for the task name or task id ; there is a duplicate task with the same name 'Deleted Tasks" and taskId "~dtp"
Found on line 2571:
<Task finish="2011-10-27T17:00:00" key="false" lastUpdatedBy="xoguser1" lastUpdatedDate="2011-10-28T10:35:13" lockedForScheduling="true" fixed="true" milestone="false" name="Deleted Tasks" orderID="150" outlineLevel="1" percComp="0" start="2011-04-18T08:00:00" status="0" summary="true" taskID="~dtp" userText1="5131040"> </Task>
Keywords: CLARITYKB, CLRT-65428, clarity12open.