Invalid guardrail warning for duplicate data page
The below guardrail warning continues to display after removing the duplicate data page and resaving the rule.
A data page with this name already exists with a different type. This may result in unexpected behaviour at run-time. Consider renaming this data page.
Steps to Reproduce
- Create a data page with a duplicate name. The guardrail warning displays.
- Remove the data page. The warning continues to display.
A defect in Pegasystems’ code or rules.
pzGetDPsWithSameName Report Definition is used to retrieve the list of all the available data pages. The guardrail warning continues to display after removing the data page because the data page is removed in the latest version but data pages from the previous versions are returned by the Report definition.