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

Internal error while copying page

SA-30662

Summary



User has implemented a series of multi-level embedded page properties which establish a reference to a data page.

The following error is generated from the RecalculateAndSave activity when populating a reference property and submitting the item.
 


Error Messages



** internal error while copying page: The reference pyWorkPage.ProductLines is not valid. Reason: Cannot modify value of Reference Property without first linking it to another property using Property-Ref: code: <none> SQLState: <none> Message: <none>

** The reference pyWorkPage.ProductLines is not valid. Reason: Cannot modify value of Reference Property without first linking it to another property using Property-Ref


Steps to Reproduce

  1. Create a case type with property A that is configured to 'Refer to a data page'. There should be another embedded property that is configured to 'Refer to a data page'. Suppose B belongs to A. 
  2. As work items proceed, populate property A and then B. Use the Property-Ref method to populate property B.
  3. Save the page. 
 

Root Cause



An issue in the custom application code.

Property B under property A is defined as a reference property and established a reference to pyWorkPage.A.Lines(Health).

This corrupts the reference property behavior.

This piece of code works under Pega 6 but not in Pega 7 as the validations have been enhanced to capture this fault. 

 

Resolution



Perform the following local-change:

Change the reference of property B from pyWorkPage.A.Lines(Health) to D_DataPage.Lines(Health). 

Published December 5, 2016 - Updated October 8, 2020

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