Support Article
WrongMode exception while adding a property to report definition
SA-78708
Summary
Error displays on the screen while adding a property to a report definition.
Error Messages
Error on the UI:
There has been an issue; please consult your system administrator.
In the Logs:
pzReloadCells:Expection: The property Temp_RefreshCellsPage.values was of mode String List while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.addToList(boolean, int, Object, boolean) was expecting Page List mode.
Steps to Reproduce
- Create a property.
- Optimize the property.
- Add the property in the respective class's report definition. The property is added; however, the error displays on screen.
Root Cause
A defect in Pegasystems’ code or rules.
In the pzReloadCells activity, the 'Values' property was used and treated as a pagelist. However, at the user's end, a property with the name 'Values' exists in the GAFW:01-01-08 ruleset of mode Value list of type Text. Therefore, the activity referred to the new property. As a result, WrongModeException occurred.
Resolution
Perform the following local-change:
Delete or change the property 'Values' in GAFW:01-01-08 ruleset.
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.