I tried to submit this bug, but apparently my trac account doesn't
have the proper permissions to submit a ticket.

If someone in charge of trac.cakephp.org could remedy this for me, I'd
be happy to file a ticket.

Thanks.

On Aug 18, 8:04 pm, benjam <[email protected]> wrote:
> I have encountered what might be a bug in Cake.
>
> I have an ACO tree that looks like the following:
> controllers
> - Events
> -- admin_index
> - Newsletters
> -- events
>
> When I try to access the admin index page for the Events controller, I
> get an error stating that the ACL check failed.
>
> After digging a bit into the ACO node function, I came up with the
> following scenario:
> on line 129 of cake/cake/libs/model/db_acl.php, the $result[0][$type]
> ['alias'] is returning 'Newsletter' (because it's lower in the tree),
> and $path[count($path) - 1] is 'Events' (passed in)
>
> This causes the whole thing to fail.
>
> Basically, my question is this... is this a bug?  Or am I doing
> something wrong?
>
> And if it's a bug, can somebody who is/might be having the same issue
> who can write test cases write one up so that a ticket can be
> submitted (if it's not in there already)?
>
> I am not sure of a fix, as I have not looked into that deeply, and I
> can't write any test cases to submit a bug as I don't know how.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to