Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create a property.
  2. Optimize the property.
  3. 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.
Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us