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

Connect REST fails to map using property qualifier

SA-24904

Summary



Connect REST fails to map using property qualifier pzExternalName set to "preferences" for "WalletPreferences" property.  
Trying to use pzExternalName due to existence of property "preferences" in base class as page rather than page list.

 

Error Messages



Caught exception: com.pega.pegarules.pub.PRException: Error mapping incoming response to .Test_Response: com.pega.pegarules.pub.clipboard.WrongModeException: The property TestPage.Test_Response.preferences was of mode Page while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue(int) was expecting Page List mode. 


Steps to Reproduce

  1. Create a connect-rest rule and invoke service which returns preferences of type list in JSON object.
  2. Create a property name WalletPreferences and provide a qualifier pzExternalName with preferences.


Root Cause



A defect in Pegasystems’ code or rules.  The pzExternalName property reference is not being used for embedded list.

Resolution



Remove the existing "preferences" property since pzExternalName is not remapping the external list name to the new name, as expected.

 

Published June 30, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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