lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41847] New: - [PATCH] UnitOfWorkImpl.rollback() doesn't check before unlocking
Date Thu, 15 Mar 2007 14:07:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41847

           Summary: [PATCH] UnitOfWorkImpl.rollback() doesn't check before
                    unlocking
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: dev@lenya.apache.org
        ReportedBy: richard.frovarp@sendit.nodak.edu


UnitOfWorkImpl.rollback() doesn't properly unlock the Transactionable t. Doing
some testing for another problem, t usually is a SourceNode. To get the lock to
work under a SourceNode it must be checked out by the current user. However,
rollback() unlocks anything that was locked, no matter who checked it out. The
patch protects the unlock by isCheckedOutByUser and unlocks it before checking
it in, which seems to be the proper order.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Mime
View raw message