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

Deprecated notice when using AjaxContext #468

Open
robskr opened this issue Jan 31, 2025 · 0 comments · May be fixed by #469
Open

Deprecated notice when using AjaxContext #468

robskr opened this issue Jan 31, 2025 · 0 comments · May be fixed by #469

Comments

@robskr
Copy link

robskr commented Jan 31, 2025

Issue #395 was closed and marked as completed. Referenced fix (#376) solves similar problem, but not exactly the one reported. It solves using ContextSwitch, not AjaxContext.

This

$this
    ->_helper
    ->ajaxContext
    ->addActionContext('foo', 'html')

still results in

Deprecated: Creation of dynamic property DashboardController::$ajaxable is deprecated

Another property needs to be added to Zend_Controller_Action:

public  $ajaxable = null; 
@robskr robskr linked a pull request Jan 31, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant