Skip to content

Product url key is not transliterated anymore if already set #26499

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

Closed
DanieliMi opened this issue Jan 22, 2020 · 8 comments · Fixed by #26506
Closed

Product url key is not transliterated anymore if already set #26499

DanieliMi opened this issue Jan 22, 2020 · 8 comments · Fixed by #26506
Assignees
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reported on 2.3.3 Indicates original Magento version for the Issue report.

Comments

@DanieliMi
Copy link
Contributor

DanieliMi commented Jan 22, 2020

Preconditions (*)

  1. Affected versions: 2.2.9, 2.3.3 (not verified by myself but responsible code is the same: 2.2.10, 2.4-develop)

Steps to reproduce (*)

  1. Edit a product and add "test url key" as url key
  2. Save the product

This can be reproduced via rest API too by updating a product url key.

Expected result (*)

  1. Url key is transliterated to "test-url-key"

Actual result (*)

  1. Url key is still "test url key"

Additional information

@m2-assistant
Copy link

m2-assistant bot commented Jan 22, 2020

Hi @DanieliMi. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@DanieliMi do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jan 22, 2020
DanieliMi added a commit to DanieliMi/magento2 that referenced this issue Jan 23, 2020
@ghost ghost assigned DanieliMi Jan 23, 2020
@christianbookpwood
Copy link

Just wanted to confirm that I manually added the fix provided by @DanieliMi and it has resolved the issue for our Magento 2.3.3 installation.

@christianbookpwood
Copy link

Is there any chance this will get fixed in Magneto 2.3.5? We just upgraded to 2.3.4 and noticed it's still a bug.

@magento-engcom-team
Copy link
Contributor

Hi @DanieliMi. Thank you for your report.
The issue has been fixed in #26506 by @DanieliMi in 2.4-develop branch
Related commit(s):

The fix will be available with the upcoming 2.4.0 release.

@magento-engcom-team magento-engcom-team added the Fixed in 2.4.x The issue has been fixed in 2.4-develop branch label Mar 15, 2020
magento-engcom-team added a commit that referenced this issue Mar 15, 2020
 - Merge Pull Request #26506 from DanieliMi/magento2:always_transliterate_product_url_key
 - Merged commits:
   1. e9300b7
   2. b7dc0be
   3. 4e54034
   4. 1b3ac06
   5. 55c2266
   6. 27dd58a
@alpenite-lsartor
Copy link

Hello,
are you planning to fix this is issue also in other magento2 versions prior to 2.4?
Thank you

Leonardo

@hostep
Copy link
Contributor

hostep commented Mar 19, 2020

Good point @alpenite-lsartor!
@slavvka: will #26506 be backported to 2.3? It's pretty important that this happens.

@slavvka
Copy link
Member

slavvka commented Mar 19, 2020

@alena-marchenko Could you please answer?

@hostep
Copy link
Contributor

hostep commented Nov 4, 2020

@slavvka & @alena-marchenko: it looks like this fix wasn't included in Magento 2.3.6 which is pretty bad new. Is there a chance it will get included in 2.3.7?

I understand you don't want to backport the database migration script, but at least backport the fix to prevent new bad data to make it into the databases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reported on 2.3.3 Indicates original Magento version for the Issue report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants