Thanx Shane! You are correct the line below the if block should be moved
up. I've opened issue ZOOKEEPER-49 for it. The fix and test are included
in the ZOOKEEPER-48 patch.

ben

Shane Mingins wrote:
> Hi
>
> Still exploring the ACL stuff in Zookeeper.  Tried using setACL for a  
> path but get InvalidACL error thrown .... looking at pRequest in  
> PrepRequestProcessor ... and in particular these lines ...
>
>
>                  SetACLRequest setAclRequest = new SetACLRequest();
>                  if (!fixupACL(request.authInfo,  
> setAclRequest.getAcl())) {
>                      throw new KeeperException(Code.InvalidACL);
>                  }
>
> a new SetACLRequest will return a null when called in fixupACL  
> returning false and throwing the exception .... as far as I can see.
>
>
> Help??
>
> Cheers, Shane
>
>
> Shane Mingins
> ELC Technologies (TM)
> 1921 State Street
> Santa Barbara, CA 93101
>
>
> Phone: +64 4 568 6684
> Mobile: +64 21 435 586
> Email:  [EMAIL PROTECTED]
> AIM:     ShaneMingins
> Skype: shane.mingins
>
> (866) 863-7365 Tel - Santa Barbara Office
> (866) 893-1902 Fax - Santa Barbara Office
>
> +44 020 7504 1346 Tel - London Office
> +44 020 7504 1347 Fax - London Office
>
> http://www.elctech.com
>
> --------------------------------------------------------------------
> Privacy and Confidentiality Notice:
> The information contained in this electronic mail message is intended  
> for the named recipient(s) only. It may contain privileged and  
> confidential information. If you are not an intended recipient, you  
> must not copy, forward, distribute or take any action in reliance on  
> it. If you have received this electronic mail message in
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Zookeeper-user mailing list
> Zookeeper-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zookeeper-user
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Zookeeper-user mailing list
Zookeeper-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zookeeper-user

Reply via email to