-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving CMS page does not create URL rewrite in Magento 2.1.0 #5923
Comments
Magento 2.1 here. Upgrade from 2.0.8 with a custom theme installed. PHP 7.0.9, apache 2.4.23. Just came across this issue and thought I was losing my mind. I still might be. Created a couple different pages and they both 404... |
@JacobDrummond Just tested it and yes, that is also present on my install. |
PS: This bug is NOT present on a 2.1 fresh install. |
@JacobDrummond |
@andimov, I also experience this bug locally on Apache/2.4.17, which is supported |
@JacobDrummond |
@andimov, this issue is not present on a fresh 2.1 install. Did you start with 2.1, or upgrade from 2.0.6? |
You should provide the appropriate steps and preconditions for reproducing. |
@JacobDrummond |
Sorry, I didn't know upgrading was a replication step until @Cacasapo mentioned it. Should I update issue descriptions as details emerge in a discussion?
Switching indexer modes back and forth didn't make a difference. Aren't indexers irrelevant in this context, as Magento2 doesn't use indexers to maintain url_rewrite? |
@Cacasapo, solved this issue! The URLs aren't indexing because pages aren't assigning to stores correctly.
INSERT INTO `cms_page_store` (page_id, store_id)
SELECT page_id `page_id`
, 0 `store_id`
FROM `cms_page`
ON DUPLICATE KEY UPDATE page_id=VALUES(page_id), store_id=VALUES(store_id) |
@JacobDrummond @Cacasapo |
@andimov, it appears to be a bug with single-store mode. I'll open a separate issue for it when I have time. See this comment. |
@JacobDrummond Nice job on the workaround. Thing is, a fix for the two issues you've found really needs to be in 2.1.1, which, hopefully, drops soon. |
@JacobDrummond @Cacasapo |
issue still exist in latest 2.1.1 |
issue exist in v. 2.1.2 |
…n Magento 2.1.0 with single-store mode #5923
…n Magento 2.1.0 with single-store mode #5923
…n Magento 2.1.0 with single-store mode #5923
…n Magento 2.1.0 with single-store mode #5923
…n Magento 2.1.0 with single-store mode #5923
…n Magento 2.1.0 with single-store mode #5923
Fixed issues: - MAGETWO-55605: Security Issue with referrer - MAGETWO-58222: Cron separate process - MAGETWO-56863: [GitHub] Saving CMS page does not create URL rewrite in Magento 2.1.0 with single-store mode #5923 - MAGETWO-60037: User is able to create empty URL key for category which leads to numerous errors
Issue exists in 2.1.3.. |
MAGETWO-56863 fixes this issue in develop branch |
@veloraven What version of Magento will contain MAGETWO-58383? Are there commit references for this internal ticket? |
@JacobDrummond, thank you for your report. |
So, is the 2.1.x branch going to be abandoned for 2.2? |
@Cacasapo I'm pretty sure 2.1 is not at EOL. But they want everyone to go to 2.2. |
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
…URL rewrite in Magento 2.1.0 with single-store mode #5923 - for 2.1
@magento-engcom-team Will the backport for 2.1 make it into the next release? |
Preconditions
Steps to reproduce
Expected result
Actual result
SELECT * FROM url_rewrite WHERE request_path LIKE "%foo-bar%"
returns nothing.Additional info
The text was updated successfully, but these errors were encountered: