Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Data #26

Open
DieterGribnitz opened this issue Apr 3, 2013 · 0 comments
Open

Empty Data #26

DieterGribnitz opened this issue Apr 3, 2013 · 0 comments

Comments

@DieterGribnitz
Copy link

I also got the issue with the component not returning any data.

On line 306 in the RestComponent the code looks like this:
if (false === ($extract = @$this->settings['actions'][$this->Controller->action]['extract'])) {

To fix the issue replace it with:
if (false === ($extract = @$this->settings['actions']['extract'][$this->Controller->action])) {

There are notices also coming up in new versions of cake.
(Could be )
All functions that use $controller should be referenced as follows:
beforeRender (Controller $Controller) {
instead of
beforeRender (&$Controller) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant