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
- Launch the Case Manager portal.
- 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.
- Delete the row containing a value other than B. An error displays.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.