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

Remove json helper data usage in AdminNotification #14438

Merged

Conversation

dmanners
Copy link
Contributor

Description

The class Magento\Framework\Json\Helper\Data is deprecated. In this PR I remove the usage of this class in the module Magento\AdminNotification

Fixed Issues (if relevant)

  1. Upgrade ZF components. Zend_Json #9236: Upgrade ZF components. Zend_Json

Manual testing scenarios

  1. Setup some admin notifications and check that they are still working as desired,

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

 - replace the json data help in the AdminNotification Messages block
 - replace the json data helper usage in the admin controller with the results factory
 - create a result of type json,
 - set the data array on the result type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants