Commit does not release lock for parent case post upgrade
SummaryThe parent case lock is acquired when resolving the child case post upgrading to Pega 8.2.2.
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 MessagesNot Applicable
Steps to Reproduce
- Create a parent and child case hierarchy with default locking
- Select the Do not lock the parent case checkbox
- Submit the child case. Final assignment results in the parent case lock being held
Root CauseA 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.
ResolutionThis issue was reported as a bug to be remediated in Pega 8.2.4 , Pega 8.3.1 and Pega 8.4 patch releases.
Published August 11, 2019 - Updated December 16, 2019