Sequence numbers keep incrementing when changes are done on the MUX Task timeline or PPM Gantt. When the PRWBSSEQUENCE and WBS_NNBSEQ fields exceed 32,000 value, duplicates occur and the task timeline or PPM Gantt can not be loaded any longer
Depending on the size of the project/number of tasks and how often it is modified it will be easier to hit this scenario.
Steps to Reproduce:
Expected results: The PPM Gantt loads the project Gantt
Actual results: Gantt does not load
app-ca.log file shows the following error:
Error at log files:
ERROR 2024-09-13 04:21:52,434 [http-nio-1623-exec-234] service.WBSService (clarity:myuser:mysession:odata.WBSService.loadFast) (ead56154-583a-4498-9863-166038dd9cc5)
com.niku.union.persistence.PersistenceException:
SQL error code: 1
Error message: ORA-00001: unique constraint (myclarity.TEMP_WBS_GLOBAL_PK) violated
Executed:
insert into TEMP_WBS_GLOBAL( taskid, projectid, wbssequence, wbslevel, origwbslevel,origwbssequence, par_seq, nnb_seq, origpartask, orignnbtask )
(
SELECT task.prid, task.prprojectid, task.prwbssequence, task.prwbslevel, task.prwbslevel, task.prwbssequence, task.wbs_parseq, task.wbs_nnbseq
, PARENTTASK.PRID, NNBTASK.PRID
FROM PRTASK TASK
LEFT OUTER JOIN PRTASK PARENTTASK ON PARENTTASK.PRWBSSEQUENCE = TASK.WBS_PARSEQ AND PARENTTASK.PRPROJECTID = TASK.PRPROJECTID
LEFT OUTER JOIN PRTASK NNBTASK ON NNBTASK.PRWBSSEQUENCE = TASK.WBS_NNBSEQ AND NNBTASK.PRPROJECTID = TASK.PRPROJECTID
WHERE TASK.PRPROJECTID = ?
)
This issue has been observed in: Clarity 16.2.1, 16.2.2, 16.2.3, 16.3.0.
DE156013
This issue has been fixed in Clarity 16.3.1.
Workaround: Open the project in Open Workbench (OWB) and save. Sequences will be reset.