-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
3.x AuthComponent ajaxLayout ? #9894
Comments
I guess the automatic usage of AjaxView is masking this issue. |
Also FormHelper::_isRequiredField() seems to be a dead method. |
I have opened #8854 about $this->RequestHandler->ajaxLayout once before. |
Time to get rid of this dead code then :) |
One concern I have with removing this 'dead' code is that it is possible that an application developer could be doing something like: public function beforeFilter($event)
{
$this->RequestHandler->ajaxLayout = 'custom_ajax';
} Us removing the cited line would 'break' this application code. I recognize that we don't have test coverage for this behavior, but it could break userland code. |
With a minor 3.4 it could still be safe to communicate this as not supported. |
This is a pretty odd property, that we should deprecate now to avoid keeping it around much longer. Refs #9894
Pull request up to mark property as deprecated. |
wasnt yet discussed, though |
The 3.x code seems to have some dead code:
$this->RequestHandler->ajaxLayout does not seem to exist.
maybe we can safely remove it?
The text was updated successfully, but these errors were encountered: