Clarity: XOG errors when certain attributes are given more than 32 characters

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

Description:

Using XML Open Gateway (XOG) to write investment team requirement name with more than 32 characters will error; while in Clarity UI it is possible to enter/modify requirement name with more than 32 characters

Steps to Reproduce :

  1. Create a new labor role in Clarity, for example:

    Name = Infrastructure Architect/Analyst
    ID = Infrastructure Architect/Analyst

  2. XOG write a project or an idea with a requirement name for this role containing more than 32 characters, for example:
    <?xml version="1.0" encoding="UTF-8"?> <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">      <Header action="write" externalSource="NIKU" objectType="project" version="12.1.1.1208"/>           <Projects>                <Project projectID="PR000430" name="Test Project">                     <Resources>                          <Resource resourceID="Infrastructure Architect/Analyst"                               teamId="Infrastructure Architect/Analyst"                               requirementName="Infrastructure Architect/Analyst - Testing"                               projectRoleID="Infrastructure Architect/Analyst"                         />                     </Resources>                </Project>           </Projects> </NikuDataBus>

Expected Result : XOG write should complete without an error
Actual Result : XOG fails with an error: "requirementName" has a bad value: the length of the value is 36, but the required maximum is 32.

Solution:

WORKAROUND :
Change the requirement name in the XOG xml file to contain less than 32 characters, once XOG is completed change the requirement name back to the desired text in Clarity

STATUS/RESOLUTION:
CLRT-66334, CLRT-70486, CLRT-70487
Resolved in Clarity 13.2 Generic Patch. Reference TEC599354
Resolved in Clarity 13.3