Property Optimization wizard fails
Property optimization for a pagelist property fails. Additionally, the column population does not complete and ends with the status 'Completed with errors'.
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.
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.
Perform the following local-change:
- Save the Work- class instances with the pagelist property which must populate the columns.
- 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
- 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'.
0% found this useful