Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.

 

 

Published December 5, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us