Issue
Custom validation error messages are not displayed when data objects are edited via a landing page or savable Data Page in applications using the Constellation UI.
Symptoms and Impact
The following generic error is returned when data objects are configured with the Edit Validate rule:
The following generic error is returned when data objects are configured with the savable Data Page validation:
Steps to reproduce
To reproduce this error, follow the below steps:
- Create an editable list view with Data Page as the source in your Constellation application:
- Enable Edit, Delete, and Create and add to list options in the list view:
- Add the list view to a landing page in the Constellation portal
- Edit or add a new data record with an invalid value
Root Cause
Pega’s existing DX API response only supports generic, and not custom validation error messages.
Solution
To resolve this error:
- Update to Pega Platform 23.1.3, see Pega Platform™ 23.1.3 Patch Resolved Issues.
- Configure custom validations using the savable Data Page option.
Environment
Version found in
This problem occurs in the following Pega platform versions:
- Pega Platform versions 8.1 - 8.8
- Pega Platform 8.8.1
- Pega Platform 23.1.0
- Pega Platform 23.1.1
- Pega Platform 23.1.2
- Pega Platform 24.1
- Pega Platform 24.1.1
Version fixed in
This problem is fixed in Pega Platform 23.1.3.
References
Enabling CRUD operations for list-based landing pages