magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.38k stars 9.28k forks source link

Magento 2 is missing a method to regenerate url rewrites #29629

Open Eddcapone opened 3 years ago

Eddcapone commented 3 years ago

Preconditions (*)

  1. EE 2.3.5-p2

Steps to reproduce (*)

  1. Create some categories and products
  2. Truncate table url_rewrites
  3. Login to Backend.
  4. Go to: Marketing -> SEO & Search: URL Rewrites
  5. Notice that there are no records.
  6. Try to regenerate url_rewrites e.g. with php bin/magento indexer:reindex
  7. Notice that there are still no records.

Expected result (*)

  1. There should be a method which enables you to regenerate url_rewrites

Actual result (*)

  1. There is no such method. You need external extensions e.g. like this which are buggy though. . This should be a basic functionality, especially for Enterprise..., it was even working in Magento 1.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 3 years ago

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

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.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

hostep commented 3 years ago

I've already tried to explain that Magento2 no longer regenerates url rewrites using an indexer in https://github.com/magento/magento2/issues/2619#issuecomment-675430116

But I'd love to hear an official response from Adobe/Magento around this, maybe it makes sense to have a regenerate-url-rewrites feature available for shops not yet live?