Support Article
Data page is giving severe warning per save as
SA-30833
Summary
The user has D_Interaction page mapped to implementation class of their application from earlier PegaCA-Work-Interaction. So on every save as of this data page, they are getting severe warning for duplicate data page with different type.
Error Messages
It shows severe warning with message"duplicate data page with different type".
Steps to Reproduce
Save as D_Interaction data page with application class.
Root Cause
Expected behaviour.
Resolution
Here’s the explanation for the reported behavior:
The name of a declare page has to be unique.
A Data Page can be saved into different ruleset and different class , but it might result in unexpected behaviour like
If there are two such data pages in different classes and different rulesets, and if one of them is already loaded, the other one will be loaded only when the first one is flushed.
This is because key for opening a datapage(e.g. in findPage) is just the name of the declare page. It doesn't have the class name as it key.
Tags:
Published December 5, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.