kuali/kc — pull request #1147 by jwillia (2014-11-19 16:10:05+00:00)
Title: KRACOEUS-8382:removing pessimistic lock message on submit

in TransactionalDocumentControllerService route method once the document is returned it calls releasePessimisticLocks(form) to clear all locks. however, this method only clears locks for the current logged in user, and a during the route process a lock is created for KR. this lock can't be removed by the releasePessimistcLocks nor PessimisticLockService's delete method. So in the submit controller i use dataObjectServices to clear any remaining locks after route and refresh the locks on the document before returning the view.