Bug 29578 - AclMethod not setting aces.
Summary: AclMethod not setting aces.
Status: RESOLVED FIXED
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.0
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 15:45 UTC by Jessica Lee
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica Lee 2004-06-15 15:45:21 UTC
AclMethod not setting aces.  Generated xml is incorrect.  

 * $Revision: 1.1.2.2 $
 * $Date: 2004/03/22 16:26:08 $

In AclMethod.generateRequestBody() line 191, 

printer.writeElement(null,privilege.getNamespace(),privilege.getName(), 
XMLPrinter.NO_CONTENT);

First and second parameters are swapped.  Should be like below:

printer.writeElement(privilege.getNamespace(),null,privilege.getName(), 
XMLPrinter.NO_CONTENT);