Clarity

  • 1.  Idea Object Description field limited to 254, but defined as 762 in Object.

    Posted Nov 22, 2011 08:07 AM
    We use Castiron to populate data from our other applications (Oracle, Salesforce, etc), into Clarity 12.0.4 and are trying to populate the Idea Object Description attribute. We continue to get an error that says the description is too long and that 254 is the max length, however the attribute is defined with a length of 762. Anyone know if this is a CA bug? We populate the Project Description just fine using the same process.

    I've tried searching for this as a known issue, but come up empty.


  • 2.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Nov 23, 2011 11:24 AM
    When you say you use Cast iron to populate, does that use XOG, WSDL, gel or other supported way of getting data into Clarity?

    I XOGed in an up date for and idea with

    description="123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789j123456789k123456789l123456789m123456789n123456789o123456789p123456789q123456789r123456789s123456789t123456789u123456789v123456789w123456789x123456789y123456789z123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789j123456789k123456789l123456789m123456789n123456789o123456789p123456789q123456789r123456789s123456789t123456789u123456789v123456789w123456789x123456789y123456789z123456789a123456789b123456789c123456789d123456789e123456789f123456789g123456789h123456789j123456789k123456789l123456789m123456789n123456789o123456789p123456789q123456789r123456789s123456789t123456789u123456789v123456789w123456789x123456789y123456789z"

    That was in v12.1. SP2

    no problem to XOG in more than 254. so Clarity can receive that OK.


    Martti K.


  • 3.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj
    Best Answer

    Posted Nov 23, 2011 11:07 PM
    Please note also that the description field for ideas and projects is the same inv_investments.description.
    Have you tried to save the long description in the GUI?

    Martti K.


  • 4.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

     
    Posted Nov 29, 2011 09:31 AM
    Hi Paul,,

    Did Martti's solutions help you resolve your issue? If so please mark as Accepted Solution.

    Thanks!
    Chris


  • 5.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Nov 29, 2011 10:52 AM
    Sorry folks, didn't get back to this as I should have.

    I was able to manually add a description of 750 characters, so I wonder if it isn't a limitation with Castiron. Logic would say it is. I'll look in that direction for a solution. Thanks for the help.

    Chris_Hackett wrote:

    Hi Paul,,

    Did Martti's solutions help you resolve your issue? If so please mark as Accepted Solution.

    Thanks!
    Chris


  • 6.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Nov 30, 2011 10:39 AM
    Ok, found the problem. We use the CA Supplied XSD's for Cast Iron. In the Common Fields XSD for Ideas, it has the Description defined with a Max of 254 characters.
    If you look at nikuxog_Inv_common.xsd, which is used by nikuxog_idea.xsd as an include file, you'll see the max length for the description set at 254.

    <xs:attribute name="description">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="254"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>


  • 7.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Dec 01, 2011 02:17 AM
    Then why could I XOG in longer than 256 description for an Idea?

    Martti K.


  • 8.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Dec 01, 2011 06:32 AM
    Perhaps this workaround has already been applied to your server?

    In the server, edit
    $NIKU_HOME/webroot/WEB-INF/xog/xsd/nikuxog_inv_common.xsd
    Change:

    ...
    <xs:attribute name="description">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="254"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    ...

    To

    ...
    <xs:attribute name="description">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="762"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    ...


  • 9.  RE: Idea Object Description field limited to 254, but defined as 762 in Obj

    Posted Dec 01, 2011 08:48 AM
    Yes that is the case in v12.1 SP2 which I was using.

    However, I looked first at the xds files form v12.0 SP2 and they have 254.

    Martti K.