-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fatal error on cms block grid delete. #8418
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
Conversation
| * @return \Magento\Framework\DB\Select | ||
| * @throws \Magento\Framework\Exception\LocalizedException | ||
| */ | ||
| protected function _getAllIdsSelect($limit = null, $offset = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this should be in this class or the parent class here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually looking at how pages work the problem could be that this class still has the function getAllIds rather than just using the parent method. Would also be nice to remove these methods if we can rely on the parent methods.
|
Again not sure if this is the best way to fix it. But since it is currently causing a fatal error and the removal stops the error I think it is good. Double checked with how the cms page grid collection works and I feel they are now working in the same way. |
a51393f to
5565e05
Compare
|
@dmanners we accepted this PR. But looks like due to rebase of this PR it is not get closed automatically. But anyway, thank you for contribution. We merged your initial code |
See #8415 for more information on how to reproduce.
On the develop branch when using the Cms Block grid in the admin section the delete option throws a fatal error.