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

Error message is not refreshed in the data type landing page

SA-77130

Summary



A When condition is configured such that only a particular record in the Records editor can be deleted. When any other record is deleted, an error message displays on the grid. Post this, when a valid record is deleted, the error message continues to display on the grid.


Error Messages



Fail: Database-General A commit cannot be performed because a deferred delete of instance PACR-Int-ClaimApprovalLimits ngwdivkwapprovlmtmgr!K!DPT failed


Steps to Reproduce

  1. Launch the Case Manager portal.
  2. Navigate to the Configuration tab and open the Sample data type. For example, the Operator can delete the second column which contains B as the value according to the When condition privilege. 
  3. Delete the row containing a value other than B. An error displays.
  4. Delete the row containing B. The error continues to display.


Root Cause



A defect in Pegasystems’ code or rules.

If the Obj-Delete failed for a record, it is marked for commit. Later in the same transaction, even when Obj-Delete is successful for a different record, the commit failed. This is because the Commit step attempted to commit the previous failed record that it had marked for Commit. Hence the same error message displayed on the grid. 

In the @baseclass - pzDeleteRecord, a step is added to perform the Obj-Save-Cancel to reverse the Obj-Delete if the Obj-Delete/Commit had failed.


Resolution



Apply HFix-51826.

Published August 19, 2019 - 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