Clarity: System Error after adding an attachment attribute to a list view on an object

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

Description:

DETAILS:

After adding an attachment attribute (multiple document or single) to an object list view, you see the following error:

! Error
System error. Contact system administrator.

I have replicated this issue on both the idea and project objects. So, this probably happens on all objects.

STEPS TO REPRODUCE:

  1. Go to the idea object or the project object and add an attachment attribute (single document or multiple documents).

  2. Add the attachment attribute to the properties view. You may add it to any section or a section on a subpage.

  3. Go to the user side and add one or more documents to your attribute on one or more object instances (new or already existing).

  4. Go back to the idea or project list.

  5. Click on the Configure option and add your attribute to the list view. Click on Save and Exit.

  6. Filter for the object instance(s) that you added documents to.
    NOTE: They will display successfully.

  7. Go back to the admin side and open the idea or project object (whichever you chose).

  8. Click on Views and then Fields to the right of the Idea List or Project List.

  9. Choose "Available" from the Display drop-down. Then click the Go button.

  10. Locate your attribute, change its name, and click the Submit button.

  11. Go back to the idea list or project list on the user side.
    NOTE: Your attachment attribute is still displaying successfully.

  12. Click on Configure, go to the General page, click on the Restore Defaults button, click the Yes button, then click Cancel to go back to your idea or project list.

  13. Click on Configure again. Add your attachment attribute to the List view. Click the "Save and Exit" button.

NOTES:

  1. The problem does not occur if you change the name of the attribute under fields only or hit restore defaults only. It only occurs if you perform both activities.

  2. The problem does not occur if you change the name of the attribute in the list view from configure on the user side.

  3. The problem does not occur for several attribute types like string, number, boolean. It seems to be specific to attachment attributes.

EXPECTED RESULTS: Your Idea or Project List will display successfully.

ACTUAL RESULTS: You will get "System error. Contact your system administrator."

TECHNICAL DETAILS:

Under Oracle or MSSQL, you will see the following error or similar in the app-niku.log:

ERROR 2013-08-04 16:03:08,908 [http-80-11] niku.xql2 (admin:5007282__-14def40d:pma.ideaList) Internal Processing exception
com.niku.odf.griphendor.GriphendorException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
... 46 more

Solution:

WORKAROUND:

If this happens to a custom attribute, do the following:

  1. Deactivate the attribute.

  2. Activate the attribute.

  3. Place the attribute back in any views that it was in before.

NOTE: There is no workaround if this problem occurs to an out-of-the-box attribute.

STATUS/RESOLUTION:

Resolved on Clarity 13.2

KEYWORDS: CLARITYKB, CLRT-56751, clarity13resolved, clarity132resolved.