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

Null revision no causes 
org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.revokePermission() to fail

           Summary: Null revision no causes
                    org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.rev
                    okePermission() to fail
           Product: Slide
           Version: 2.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Stores
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When deleting a folder with certain permissions assigned, NullpointerException
will be thrown.

I did some debug and found the error is in 
org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.revokePermission(
Connection connection, Uri uri, NodePermission permission)

when executing statement.setString(4, revisionNumber.toString(), it found 
revisionNumber is null.

I don't understand why permission has a revision no and I found in the table
PERMISSIONS all records' VERSION_NO(I assume this is the revision no) columns 
are having "null" values. I think this is a bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to