When converting an Idea to a Project in Modern UX or when trying to create a new Project, you receive an API-1019 error.
The app-ca.log file shows errors similar to the following:
ERROR xx-xx-xx xx:xx:xx,xxx [x] niku.xql2 (clarity:x:x:PPM_REST_API) Internal Processing exceptionjava.lang.Exception: User 5xxxxxx not in system. Cannot grant right at com.niku.xql2.pmd.rules.INVInvestmentsRule.onPostUpdate(INVInvestmentsRule.java:580)
ERROR xx-xx-xx xx:xx:xx,xxx [x] niku.xql2 (clarity:x:x:projmgr.projectNewPost) (x) Internal Processing exceptionjava.lang.Exception: User 5xxxxxx not in system. Cannot grant right at com.niku.xql2.pmd.rules.INVInvestmentsRule.onPostUpdate(INVInvestmentsRule.java:597)
The ODF_DEFAULT_OVERRIDES table has an attribute with a default value.
The default value needs to be cleared.
SELECT *
FROM ODF_DEFAULT_OVERRIDES
WHERE OBJECT_CODE = 'project'
AND VALUE = 5xxxxxx5xxxxxx with the value found in the logs)SELECT OBJECT_NAME, COLUMN_NAME, DEFAULT_VALUEFROM ODF_CUSTOM_ATTRIBUTESWHERE OBJECT_NAME = 'project'AND DEFAULT_VALUE = '5xxxxxx'attribute_id returned by the previous query).