-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: ContentComponent: WidgetIssue: 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: doneReported 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
Version tested 2.4.7-p3
Steps to reproduce
- Multistore setup
- Add categories and products
- Change the url key of a product and category for a store view
- Add a catalog category link and category product link widget to a page, linked to the category/product in step (3)
Expected result
Links in the widget go to the correct url of the selected product/category.
Actual result
Links go to the URL that was first inserted into url_rewrite, which now has redirect_type 301.
Additional information
The filter to retrieve the url rewrite misses the redirect type parameter. Adding that to the filter leads to the expected result.
\Magento\Catalog\Block\Widget\Link line 80.
Althought the links work, through a redirect you get to the correct page, the link in html source is invalid. This can have an SEO impact for the merchant.
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”.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: ContentComponent: WidgetIssue: 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: doneReported 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