Support Article
Property type mismatch error thrown incorrectly
SA-13394
Summary
If user provides any Page property in the Value of Content in List View, a Property mismatch error is getting thrown though both Properties are of same type.
Error Messages
Please select a column that is of same type as the Field
Steps to Reproduce
1. Import Rule-Admin-Product (RAP) in Pega 7.1.8 instance.
2. Login using admin.
3. Open the TestLV listview rule from Assign-Worklist class.
4. Checkout this rule form, navigate to content tab, then for the condition value change the value to “pyWorkPage.Office.PassengerName” and save this rule form.
Root Cause
Validate_Report_Condition is not able to validate the properties if we use Page properties in the condition.
Resolution
Validate_Report_Condition has a condition to check whether the Property is leaf or Page property. If it is a Page property, prefixing that property with a "." resolves the issue. This change is provided via HFix-23434.
Published August 28, 2015 - 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.