Closed
Description
Preconditions
- Magento version 2.2.x
Steps to reproduce
- For some customisation, I've rewrite block of Magento\CatalogWidget\Block\Product\ProductsList to
Mycompany\Mymodule\Block\Product\ProductsList in front-end's di.xml. - Now Added below product listing widget in backend CMS block:
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" products_count="8" template="Magento_CatalogWidget::product/widget/content/grid.phtml" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`visibility`,`operator`:`==`,`value`:`4`^]^]"}}
Expected result
The widget template should be rendered successfully.
Actual result
The widget template rendering gives following error:
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.1 release lineThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release