DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27475

Unable to set inherited Ace

           Summary: Unable to set inherited Ace
           Product: Slide
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In org.apache.webdav.lib.methods.AclMethod (2.0beta1), line 199 checks the 
ace.isInherited() flag to decide whether to add the inerited tag to the 
request (making the new ace inherited), but line 130 checks the same flag and 
skips any ace with inherited == true. Line 130 is attempting to avoid 
submitting inherited aces that were previously retrieved from the server, but 
it should probably be checking that (ace.getInheritedFrom() != null) instead 
(I'm assuming that this is always set for an inherted ace retrieved from the 
server, but have not checked. If this is not true, then Ace needs a separate 
flag to indicate that the ace is new and should be submitted with the 
inherited element.)

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

Reply via email to