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

Property Optimization wizard fails

SA-55391

Summary



Property optimization for a pagelist property fails. Additionally, the column population does not complete and ends with the status 'Completed with errors'.


Error Messages



The property .cata was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode

InvalidReference .Cata_Detail.user_id list property 'Cata_Detail' must have an index



Steps to Reproduce



Run property optimization wizard for a pagelist property.


Root Cause



An issue in the custom application code or rules.

The property optimization request to the server is manipulated using a fiddler. If the request is to expose the user_id property of the Cata_Detail pagelist, then the target property in the request is manipulated to cata.user_id. This must have been Cata_Detail.user_id(). Hence the error, 'The property .cata was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode', occurred.

In the second attempt, the target property is '.Cata_Detail.user_id' which is incorrect. Hence the errors in logs, 'InvalidReference .Cata_Detail.user_id list property 'Cata_Detail' must have an index.' 

In the final attempt, though the property is exposed correctly, the column population failed because of the first two failure attempts.



Resolution



Perform the following local-change:
  1. Save the Work- class instances with the pagelist property which must populate the columns. 
  2. Run the column population utility using ‘nonpega’PRPCUtils, https://pdn.pega.com/sites/pdn.pega.com/files/help_v719/procomhelpmain.htm#database/database2/databasecolumnpopulator.htm#kanchor8207
  3. Configure the PRPCUtils properties file. This utility can also rebuild Index- instances defined by Declare Index rules. In the properties file, ‘expose.reindex’ must be set to true and ‘expose.reindexType’ can be set to 'nonpega'.


 

Published July 23, 2018 - 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