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

Make CMS directive filtering error be more generic #5362

Merged

Conversation

erikhansen
Copy link
Contributor

@erikhansen erikhansen commented Jun 29, 2016

When a site is in production mode and a CMS widget has an error in processing, this error message will be displayed: We're sorry, an error has occurred while generating this email.

12-44-06 about us-5shvt

Since the \Magento\Email\Model\Template\Filter::filter method is inherited by several CMS classes (\Magento\Cms\Model\Template\Filter and \Magento\Widget\Model\Template\Filter), the error message should be changed to something more generic. This pull request changes the error message to: We're sorry, an error has occurred while generating this content.

- Even though the filter method is in the \Magento\Email\Model\Template\Filter class,
  that class is extended by several CMS classes
@erikhansen
Copy link
Contributor Author

Magento / @vkorotun This is a simple pull request. Any update on when it can be merged?

@vrann vrann self-assigned this Mar 22, 2017
@vrann vrann added this to the March 2017 milestone Mar 22, 2017
@magento-team magento-team merged commit bda5658 into magento:develop Mar 22, 2017
@vrann
Copy link
Contributor

vrann commented Mar 22, 2017

@erikhansen finally merged! Better later than never, but I'm sure next time it will be faster. Thank you for the contribution.

@erikhansen erikhansen deleted the feature/widget-error-message branch March 23, 2017 13:35
@erikhansen
Copy link
Contributor Author

@vrann Glad you're making progress through your backlog of PRs!

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.

4 participants