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=34954>.
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=34954

           Summary: (Almost) silent failure of grantPermission in RDBMS
                    adapters
           Product: Slide
           Version: 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Stores
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The 'grantPermission(Connection, Uri, NodePermission)' method of 
'StandardRDBMSAdapter' and 'DB2RDBMSAdapter' can fail (almost) silently. If the 
number of inserted records does not equal one, then only a message is added to 
the log. The method does not throw an exception, allowing the WebDAV method 
being executed to succeed even though data has been lost.

In addition to logging the message a SeriveAccessException should be thrown 
indicating to the client that the WebDAV method did not succeed.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to