[Issue] Fix URL generation for new store when it created with setup:config:import #30025
Closed
4 tasks
Labels
Component: Deploy
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.0
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Projects
This issue is automatically created based on existing pull request: #30023: Fix URL generation for new store when it created with setup:config:import
Preconditions (*)
Magento 2.4-develop
Emulate adminhtml area where url rewrites are created
Related Pull Requests
Fixed Issues (if relevant)
Steps to reproduce: (*)
php bin/magento app:config:dump
and commit itActual Result: ✖️ On second store view URL rewrites were generated only on dev env (it was created via admin), but they weren't generated on production env.
Expected Result: ✔️ On second store view on dev and production environments were generated URL rewrites for categories and products.
Questions or comments
My investigation shown that only in adminhtml area URL rewrites are generated when store view is created:
magento2/app/code/Magento/CatalogUrlRewrite/etc/adminhtml/di.xml
Lines 9 to 14 in a31f4a3
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: