On Feb 23, 12:19 am, Mathew <[email protected]> wrote:
> $categories = $this->requestAction(array
> ('controller'=>'documents','action'=>'request_categories'));
> $categories = $this->requestAction('/documents/request_categories');
>
> The first line will fail, but the second line will work.

Define fail.

> Look in the dispatcher.php on line 111
>
>                 if (is_array($url)) {
>                         $url = $this->__extractParams($url, 
> $additionalParams);
>                         $parse = false;
>                 }
>
> Now look at the function __extractParams on line 270.
>
> This function has no return failure. It has been commented out.

The only way the url returned by __extractParams would be used, is in
looking for a cache file to render (which isn't applicable to
requestAction calls). Create a test case and ticket if you're seeing
an issue please.

Cheers,

AD
PS. 'major' :) ?
--~--~---------~--~----~------------~-------~--~----~
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