-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fixed Redirect to the store view when trying to save attribute on product creation page #30400
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
Fixed Redirect to the store view when trying to save attribute on product creation page #30400
Conversation
…ttribute magento#30362: Fixed Redirect to the store view when trying to save attribute on product creation page
Hi @shikhamis11. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests 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. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me test instance |
Hi @shikhamis11. Thank you for your request. I'm working on Magento instance for you. |
Hi @shikhamis11, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento run all tests |
#dmcdindia2020 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @shikhamis11. Thank you for your collaboration. According to the definition of done all changes should be covered by autotests. Could I ask you to cover you fix by an MFTF test, please?
Thank you!
hi @rogyar Go to Catalog -> Products -> Add New Product |
Hi @shikhamis11. Yes, that's right. Not literally all the steps. For example, you may use a fixture for product creation instead of adding it, etc. See the following example that shows fixtures in action Line 28 in 2c8b12a
Line 60 in 2c8b12a
Hope it's helpful |
Will help with tests. |
Hi @shikhamis11 . I can't add MFTF to your changes. Could you please allow changes to a pull request branch using the following steps: |
@engcom-Hotel, there is no option for me to allow edits from maintainers , may be It's because I am using the fork repository of my organisation |
Hello @shikhamis11 . |
…tribute Added MFTF Test coverage
@engcom-Hotel I have added MFTF test provided by you |
@magento run all tests |
Hello @shikhamis11 . |
…tribute Updated Mftf Test title stories and description
@magento run all tests |
@shikhamis11. Thank you for providing the test. Just a suggestion. Next time, please, use action groups only for creating an MFTF test. It's part of the best practices and allows us to create reusable test actions instead of hardcoding them into the test body. Thank you! |
Hi @rogyar, thank you for the review. |
@magento run all tests |
…ribute on product creation page #30400
Hi @shikhamis11, thank you for your contribution! |
#30362: Fixed Redirect to the store view when trying to save attribute on product creation page
also fixes #30361
Preconditions (*)
Magento 2.4-develop
Steps to reproduce (*)
Expected result (*)
No redirect. Attribute is saved.
Actual result (*)
https://user-images.githubusercontent.com/30689417/95333312-48e4f780-08b5-11eb-884d-a2100962d1e7.gif
Redirect to the Home Page if trying to save a attribute on product creation page. Attribute isn`t saved
Contribution checklist (*)