Support Article

Commit does not release lock for parent case post upgrade

SA-86450

Summary



Post upgrading to Pega Platform 8.2.2, the parent case lock is acquired when resolving the child case.

In Pega 7.2.2, the final commit releases the lock for both the cases. However, in Pega 8.2.2, the commit does not release the lock for the parent case.



Error Messages



Not Applicable


Steps to Reproduce

  1. Create a parent and child case hierarchy with default locking and select the 'Do not lock the parent case' checkbox.
  2. Submit the child case. The Final assignment results in the parent case lock being held.


Root Cause



A defect in Pegasystems’ code or rules.

In the Work-.Resolve, the openIfStale engine API is invoked with eight parameters (important parameters among the eight are: aUnlockOnCommit – true and maintainLockingStrategy – true). This is where the lock is acquired; and post commit, the lock is released.
For this type of locking configuration, the combination of the parameters (mentioned above), behaves differently. Hence, the lock on the parent case is not released. This method from the engine has modifications since Pega 7.4 with various checks based on the parameters.



Resolution



Apply HFix-55628.

Published August 11, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.