Support Article
Property Name containing the String "GMT" becomes invalid
SA-4346
Summary
Property name containing the String "GMT" becomes invalid. And long Property name with underscore becomes invalid. This issue appears when upgrading application from PRPC 6.2 SP2 to PRPC 7.1.6.
Error Messages
Cells in a Row:
** ".acb_MGMT_ghi_jkl" is not a valid property
Cells in a Row:
** ".dgfd_MGMT_dgg_sggb_gd" is not a valid property
Steps to Reproduce
1. Create properties of name similar to "OUT_MGMT_PUB_FP1" in PRPC 6.2 SP2.
2. Put this in a section with free form layout or Smart layout.
3. Import this project to a 7.1.6 system and do a Save.
4. We will get an error saying not a valid property.
Root Cause
Property names which contains "GMT" string in the end were not allowed in the sections.
Due to a bug in isLiteral() RUF, property names which contains "GMT" string were also not allowed in the sections.
Code snippet:
strInput.IndexOf("GMT") > -1 )
Since indexOf is used, even if the property name has this string, the condition will evaluate to ‘true’ – this is not correct.
The intention is to see if the given string has an "endwith" GMT instead of "contains" GMT literal.
Hence, it is needed to change the above code snippet and replace "indexOf" with "lastIndexOf".
Resolution
HFix-20049 resolves the issue.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.