Skip to content
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 rewrites removal issue while removing product from website from product edit mass action #21348

Closed
AnshuMishra17 opened this issue Feb 20, 2019 · 6 comments
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@AnshuMishra17
Copy link
Contributor

Preconditions (*)

I am able to reproduce the issue on Magento Open Source 2.2.7

Steps to reproduce (*)

  1. Add multiple websites, for example I have three websites, each website has its own store and corresponding store view.
    step1
  2. Go to Catalog -> Product -> select any product and edit it.
    For example, I have selected product with id 2 (Strive Shoulder Pack)
  3. From Store view dropdown, select Default Store View.
  4. Under the Search Engine Optimization, uncheck the Use Default Value checkbox for URL Key and modifiy the URL key and save the product.
    step4
  5. For the same product that you have selected in step2, add this product to multiple websites and save.
    For example, I have added this product to Main website, website 1 and website 2.
    step5
  6. Now, in Marketing -> URL rewrites, try to find the url rewrite for your selected product and you will able to see your new rewrites.
  7. Now, from the product listing page, select the same product as in step 2 and select update attributes from the Actions dropdown.
    step7
  8. Select the website tab and in Remove product from websites select any new website and save.
    For example, I have selected website 2.
    step8
  9. Now again go in Marketing -> URL rewrites and try to find all the url rewrites for your product.
    You will see the URL rewrites for the product for the website that you have selected for removal has been removed. Also the url rewrite for the product for the website that had URL key value at the store level (not the default config value, step 4) has been removed as well.
    step9

Expected result (*)

URL rewrites should be removed for the product for the website that has been selected for removal.

Actual result (*)

URL rewrites for the product for the website that you have selected for removal has been removed. Also the URL rewrite for the product for the website that had URL key value at the store level (not the default config value) has been removed as well.

@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Feb 20, 2019

Hi @AnshuMishra17. 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-engcom-team give me 2.3-develop instance - upcoming 2.3.x release

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

@AnshuMishra17 do you confirm that you was 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 Feb 20, 2019
@ghost ghost self-assigned this Feb 20, 2019
@magento-engcom-team
Copy link
Contributor

Hi @engcom-backlog-nazar. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • Next steps are available in case you are a member of Community Maintainers.

  • 6. Add label Issue: Confirmed once verification is complete.

  • 7. Make sure that automatic system confirms that report has been added to the backlog.

@ghost
Copy link

ghost commented Feb 20, 2019

Hi @AnshuMishra17 thank you for you report i'm closing this as duplicate to this -> #21329

@ghost ghost closed this as completed Feb 20, 2019
@AnshuMishra17
Copy link
Contributor Author

@engcom-backlog-nazar How it is duplicate #21329?
#21329 is while we are adding to a website using mass action.
This one is while we are removing the website using mass action.
These are two different cases.

@ghost
Copy link

ghost commented Feb 20, 2019

@AnshuMishra17, this problem related to mass action, so just add additional description to your first issue and this also will be fixed.

@AnshuMishra17
Copy link
Contributor Author

@engcom-backlog-nazar I just saw that you have already referenced this issue on #21329. So, I am assuming this will also be considered while working on #21329

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

2 participants