-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: ContentComponent: UrlIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.7-p3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
- Magento version 2.4.7-p3
Steps to reproduce
- Install sample data
- Open backoffice, go to Content->Pages
- Find "404 Not Found", click Edit
- Edit Content
- Add pagebuilder "Products" block, Save
- Open frontend
{magento_url}/foo/bar/baz//hello
Expected result
- 404 Not found page is rendered
- Products block is rendered
Actual result
- Fatal Error is shown
TypeError: Unsupported operand types: string + int in /var/www/html/vendor/magento/framework/Data/Collection.php:245
Additional information
- look how collection is built in
vendor/magento/module-catalog-widget/Block/Product/ProductsList.php
$this->getRequest()->getParam($this->getData('page_var_name'), 1)
returns "hello"
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Area: ContentComponent: UrlIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.7-p3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch