-
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
URL Rewrite destroyed #26940
Comments
Hi @bernd-reindl. Thank you for your report.
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:
For more details, please, review the Magento Contributor Assistant documentation. @bernd-reindl do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @m2-assistant[bot] Here is your new Magento Instance: https://i-26940-2-4-develop.magento-testing-service.engineering |
Hi @GDauer. Thank you for working on this issue.
|
Issue: Clear Description |
@magento give me 2.4-develop instance - upcoming 2.4.x release |
Hi @GDauer. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @GDauer, here is your Magento instance. |
@magento give me 2.3.4 instance |
Hi @GDauer. Thank you for your request. I'm working on Magento 2.3.4 instance for you |
Hi @GDauer, here is your Magento instance. |
Hi @bernd-reindl i'm trying to work on your issue but i could not reproduce it. Can you give more information, maybe a video? |
i already have reproduced it in https://i-26940-2-4-develop.magento-testing-service.engineering/admin_afb8 See my screenshots above. |
https://drive.google.com/file/d/17pbMZ6p_E9ok4HwfVlAv69z8eSS5FAOD/view?usp=sharing Create 2 Websites. First DE, Second EN Expected result: URL should not changed, because product is only in website DE If the product is assigned to website DE and EN, the URL for DE is kategorie-1/produkt-1.html and for EN category-1/product-1.html. Hope this helps. |
Hi @GDauer, i have found a solution. in Magento\Catalog\Model\ResourceModel\Product So i have changed the code like this:
The second problem is in Magento\CatalogUrlRewrite\Model\Product\AnchorUrlRewriteGenerator
Now it works like expected. |
@bernd-reindl: that last fix you mentioned is finally being added to the Magento core, it has been a bug since Magento2 got released, but they finally accepted the fix in #26784 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
Description
When a category path was changed in website > 1 and a product is not assignt to this website, the paths for this product will be corrupted in the default website (1)
The text was updated successfully, but these errors were encountered: