Closed adamlavery closed 3 months ago
Hi @adamlavery. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. @magento give me 2.4-develop instance
Hi @adamlavery. Thank you for your request. I'm working on Magento instance for you.
Hi @adamlavery, here is your Magento Instance: https://622539b936527028c169118fa5fdfcf8.instances-prod.magento-community.engineering Admin access: https://622539b936527028c169118fa5fdfcf8.instances-prod.magento-community.engineering/admin_3f9d Login: 2871394a Password: 1befcf49802e
Not reprodcible on vanilla install. Is this something that has already been raised and fixed? A variety of searches found nothing on this.
Hi @adamlavery,
Thanks for your reporting and collaboration.
We have also verified the issue in Latest 2.4-develop instance and the issue is not reproducible.
As per this comment https://github.com/magento/magento2/issues/38942#issuecomment-2233056586 we are closing this issue.please feel free to reopen the issue and update the description accordingly.
Thanks.
@adamlavery
I encountered the same bug, and it appears to be associated with the blog module. The issue stems from having a separate DI (Dependency Injection) setup for Magento\PageBuilder\Model\Stage\RendererPool within the blog module, which is currently defined in adminhtml/di.xml, resulting in an exception.|
To resolve this, I transferred the DI configuration within the blog module to etc/di.xml. To the same scope as Magento has it.
Thanks @MaximSR, the Magezon Blog extension is the cause of this. I will raise this with them - guess you have as well? While it now doesn't crash, the layout is wrong in PageBuilder. I'm guessing they did something for their page builder which has broken native Magento page builder.
Magezon will soon be releasing a fix for this but in the meantime make the following mod to \Magezon\Blog\etc\adminhtml\di.xml
<type name="Magento\PageBuilder\Model\Stage\RendererPool">
<arguments>
<argument name="renderers" xsi:type="array">
<item name="blog_posts" xsi:type="object">Magento\PageBuilder\Model\Stage\Renderer\WidgetDirective</item>
<item name="products" xsi:type="object">Magento\PageBuilder\Model\Stage\Renderer\WidgetDirective</item>
</argument>
</arguments>
</type>
Preconditions and environment
CE 2.4.6
Steps to reproduce
Open a Page Builder element that shows products e.g. content block using the Products content. In our case the products show correctly on the frontend but we get an error in the backend.
Expected result
Products display in Page Builder, as they used to.
Actual result
Additional information
This used to work - clearly because we show the products on the frontend:
Release note
Fix yet another bug that wasn't present but is now!
Triage and priority