Support Article
Error on exporting Product rule when ListView filter is used
SA-64072
Summary
Error occurs when exporting the Product rule when ListView filter is used with pagination enabled.
Error Messages
[java] Caused by: com.pega.pegarules.pub.PRRuntimeException: Problem evaluating a ListView for a Collection: ** The page size "" specified for this RDB call is invalid; either it is not a positive integer or it is larger than pyMaxRecords
[java] at com.pega.pegarules.deploy.internal.util.CollectorImpl.addListView(CollectorImpl.java:1245)
[java] at com.pega.pegarules.deploy.internal.util.CollectorImpl.addClassPageList(CollectorImpl.java:585)
[java] at com.pega.pegarules.deploy.internal.util.CollectorImpl.addProduct(CollectorImpl.java:1012)
[java] at com.pega.pegarules.deploy.internal.util.ExportImpl.performExportProduct(ExportImpl.java:988)
[java] at com.pega.pegarules.deploy.internal.util.ExportImpl.exportProduct(ExportImpl.java:958)
Steps to Reproduce
Unknown.
Root Cause
A defect in Pegasystems’ code or rules.
During export, the Page Index is always sent as a parameter to the call of the ShowView activity of the Rule-Obj-ListView class. This populates the result of executing ListView in the clipboardPage. The Page Index should only be sent as a parameter only if Paging is enabled in the ListView.
Resolution
Apply HFix-46967.Published September 5, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.