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

Lock is not held on Child case when opened directly using search

SA-5447

Summary



From the user's perspective, it was observed that work objects, when opened directly using search by one user, could be opened from a different session as well. The same work object could be opened simultaneously from 2 sessions. Subsequent behavior indicates the lock is held. The user that has opened the assignment first can submit the work object, the second user receives a message “You have lost the ability to make changes…” which indicates they do not have the lock.

Error Messages



“You have lost the ability to make changes…” after the work object is opened and submitted by the second user.  

Steps to Reproduce

  1. Seach for any work object 
  2. Open the assignment
  3. Open another session and log in as a different user
  4. Search for the same work object
  5. Click on the assignment

Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. In this case the work object class had an Access Deny rule, execution of which will reset step status "fail" set by Lock Manager

If an Access When rule executes as part of evaluating whether current thread authorization has access to work class it can reset the ProcessingStatus on current PRStackFrame. Pass an additional boolean to capture status of Access When execution on a new ProcessingStatus on stack. In this case it was resetting Fail processing status set by Lock Manager,


Resolution



This issue is resolved by hotfix item HFix-20590. 

Published January 31, 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