Decimal control removes error message from Property
When Developer is having any property with decimal control and tries to fire a validation , somehow the error messages from the page is getting removed. .
Error message on the property does not appear on the screen.
Steps to Reproduce
1) Create a flow for a flow action and include a section in the flow action.
2) The secion should contain a decimal control property and on event "onchange" select the action "Refresh this section" which calls the a activity.
3) The acivity contains two methods:
This contains two parameters: Property Name is set to the decimal property created earlier and DecisionTableName is set to a decision table
The validate parameter will take the property validate method.
4) Now run the flow
The root cause of this problem is a defect in Pegasystems’ code/rules. In the control 'Decimal', the messages on the property are cached by 'hasValidValue()' method. So error messages are not displayed on the screen even if it is validated.
This issue is resolved by hotfix item with ID HFix-20951.
In the control 'Decimal', the messages on the property are caught by 'hasValidValue()' method. So error messages are not displayed on the screen even if it is validated.
So the hotfix sets the messages back to the property.
0% found this useful