XOG: Projects created by XOG using a template do not copy over the OBS value

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

Steps to Reproduce:

1. Create a project "p_template" as a template
   a. Go Home - Management- Project and click "New" button
   b. Enter all requested information (Project Name = "p_template", Project ID = "p_template") and click "Save" button
   c. Check the check-box "Template"
   d. Enter any information to the obs attribute in project- properties- general - Organizational Breakdown Structures section (for example Organizational Breakdown Structures, Department)


2. Create process with Steps to write a project based on that template.

The example of xml:
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
      <Header action="write" externalSource="NIKU" objectType="project" version="8.1.0.03.4373"/>
      <Projects>
                  <Project managerResourceID="admin" fromTemplate="p_template" projectID=" p_temp1 " name=" p_temp1" entityCode="Corporate">
                              <OBSAssocs completed="false">
                                          <OBSAssoc id="corpDepartmentOBS" name="Corporate Department OBS" unitPath="/IT"/>
                                          <OBSAssoc id="Organizational" name="Organizational" unitPath="/All LOBs"/>
                              </OBSAssocs>
                  </Project>
      </Projects>
      <XOGOutput>
                  <Object type="project"/>
                  <Status state="SUCCESS"/>
                  <Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>
                  <Records/>
      </XOGOutput>
</NikuDataBus>


3. Check the OBS definition of the project "p_temp1" through Clarity UI > Project properties


Expected Result: OBS value is copied from the template
Actual Result:      OBS value is empty 

Status: The defect has been resolved as CLRT-74291 on 14.1