Copy Project Fails When Project ID Has a Dash and Ends with a Period
(Doc ID 2978736.1)
Last updated on NOVEMBER 29, 2023
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 22.12.3.0 and laterInformation in this document applies to any platform.
Symptoms
When copying a Project whose Project ID contains a dash and ends with a period, the Job Status shows as failed.
Example:
Project ID = Test-2.
When removing either the dash or the period at the end, the copy project action is successful.
ERROR
Copy project has failed.
From WebAccess logs:
Procedure EXEC_DBCRUD_STMT_WITH_RETRY Couldn't execute the query, Reason: Cannot insert the value NULL into column 'proj_short_name', table 'PMDB.dbo.PROJECT'; column does not allow nulls. INSERT fails.
Procedure EXEC_DBCRUD_STMT_WITH_RETRY Couldn't execute the query, Reason: Cannot insert the value NULL into column 'wbs_short_name', table 'PMDB.dbo.PROJWBS'; column does not allow nulls. INSERT fails.
Procedure EXEC_DBCRUD_STMT_WITH_RETRY Couldn't execute the query, Reason: The INSERT statement conflicted with the FOREIGN KEY constraint "fk_task_project". The conflict occurred in database "PMDB", table "dbo.PROJECT", column 'proj_id'.
Error while running Copy Project Service
java.lang.NullPointerException
STEPS TO REPRODUCE
The issue can be reproduced at will with the following steps:
- Login to P6 Pro.
- Go to Enterprise > Projects.
- Attempt to copy/paste a project containing a "-" and ending with a ".", like "Test-2.".
- Receive error.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |