Clarity: Cannot XOG in Other Work Investment Description greater than 256 characters

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

Description:

Using Clarity XML Open Gateway to XOG in Other Work investments with a description greater than 254 will return the following error:

<?xml version="1.0" encoding="UTF-8"?> 
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd"> 
<Object type="otherInvestment"/> 
<Status elapsedTime="0.0 seconds" state="FAILURE"/> 
<Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" updatedRecords="0"/> 
<ErrorInformation> 
<Severity>FATAL</Severity> 
<Description>[Error] :0:0: attribute "description" has a bad value: the length of the value is 759, but the required maximum is 254 characters 
</Description> 
<Exception type="java.lang.Exception"><![CDATA[ java.lang.Exception: Invalid xml data

Steps to Reproduce:

  1. Create an Other Work named ow1

  2. Enter a description greater than 254 characters, my sample has 759 characters

  3. XOG out the Other work

  4. XOG in the other work

Expected Results: The other work to xog in fine
Actual Results: <Description>[Error] :0:0: attribute "description" has a bad value: the length of the value is 759, but the required maximum is 254.

Solution:

Workaround:
Clear the description field or shorten it in the XML file, then enter it in the Clarity User Interface after the Other Work investment is XOG'd in

Status/Resolution:
Resolved in Clarity 13.0.1 Generic Patch. Reference TEC572268
Resolved in Clarity 13.1.0

Keywords: CLARITYKB, CLRT-68467, clarity13resolved, clarity1310resolved, xog, other work, description, has a bad value.