System Error when trying to update the Name attribute Field View on custom object and set it to hidden

book

Article ID: 195884

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

STR:

1. Open a custom object
2. Go to Views - General - Fields
3. Click on the Properties icon for attribute Name 
4. Set the Property Label to anything else
5. Set the Override Default Value to -
6. Save

System error. 
Message in Logs:  

ERROR 2020-07-24 11:57:57,414 [http-nio-8080-exec-150] niku.xql2 (clarity:xxxxxx:12258049__25B8B193-97E3-4B0F-A0A6-4077C743D508:odf.updateObjectPropertiesField) Internal Processing exception
java.lang.Exception: Failure while evaluating "foundAttribute/@dataType = 'string' and foundAttribute/@extendedType = '' and data/viewAttribute/default/@value and length(data/viewAttribute/default/@value) > integer(foundAttribute/@dataSize)" in expression "{foundAttribute/@dataType = 'string' and foundAttribute/@extendedType = '' and data/viewAttribute/default/@value and length(data/viewAttribute/default/@value) > integer(foundAttribute/@dataSize)}" error: Invalid expression foundAttribute/@dataType = 'string' and foundAttribute/@extendedType = '' and data/viewAttribute/default/@value and length(data/viewAttribute/default/@value) > integer(foundAttribute/@dataSize): Error parsing number .
 at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1296)
 at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1339)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:191)
 
 Caused by: java.lang.Exception: Invalid expression foundAttribute/@dataType = 'string' and foundAttribute/@extendedType = '' and data/viewAttribute/default/@value and length(data/viewAttribute/default/@value) > integer(foundAttribute/@dataSize): Error parsing number .
 at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1133)
 at com.niku.xql2.XQLVisitor.eval(XQLVisitor.java:1059)
 at com.niku.xql2.XQLVisitor.process(XQLVisitor.java:1291)
 ... 76 more
Caused by: java.lang.NumberFormatException: Error parsing number .
 at com.niku.union.utility.DataFormatUtil.parseNumber(DataFormatUtil.java:249)
 at com.niku.union.utility.DataFormatUtil.parseInt(DataFormatUtil.java:109)
 at com.niku.union.utility.DataFormatUtil.parseBoolean(DataFormatUtil.java:163)
 

Cause

This is due to an issue with Override Default Value

Environment

Release : 15.6.1, 15.8,1

Component : CA PPM STUDIO

Resolution

Workaround:

  1. Please go to Object - Attributes and enter default value there as '-' 
  2. Save
  3. Now go back to the View - Fields, open the field
  4. Now you should be able to save the name and set to hidden. Do not enter any value for Override Default

 

Attachments