You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/05/18 14:27:18 UTC

DO NOT REPLY [Bug 34954] New: - (Almost) silent failure of grantPermission in RDBMS adapters

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: slide-dev@jakarta.apache.org
        ReportedBy: j.stuyts@hippo.nl


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: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org