Clarity: Creating a project 'from template' via XOG fails due to missing attribute (manager_id) if template and project in the same XOG write file

Document ID : KB000049798
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Creating a project "from template" via XOG fails due to missing attribute (manager_id) even though it is not a required field and only if the template and project is contained within the same XOG write file

Steps to Reproduce:

  1. Create a XOG write file consisting of the template and the project from template

  2. Ensure that the "managerResourceID" is not defined

  3. Execute XOG to import the file

Expected Result: Template and Project should be created successfully.
Actual Result: The XOG import fails with an error indicating that the Manager ID is the source of the problem.

<EXCEPTION message="Error parsing number templateProjectRec.MANAGER_ID"
type="java.lang.NumberFormatException">
java.lang.NumberFormatException: Error parsing number templateProjectRec.MANAGER_ID

Solution:

WORKAROUND:
Either add the 'managerResourceID' attribute to the XOG write file for the Project
OR
Create separate XOG write files for the Template project and the Project based on the template

STATUS/RESOLUTION:
Resolved in Clarity 12.1.0 - The XOG Sample file includes the 'managerResourceID' attribute.

Keywords: CLARITYKB, CLRT-15901, 100019.