magento2
magento2 copied to clipboard
magento/magento2#38659: Change order status issue
- Fixed issue with changing order status
Description (*)
Related Pull Requests
Fixed Issues (if relevant)
- Fixes magento/magento2#38659
- Fixes magento/magento2#38917
Manual testing scenarios (*)
- Install vanilla Magento
- Go to admin Stores => Order Status
- Create two statuses "Sent" and "Ready for Pickup" and bind them to "Processing" state
- Create product and register customer
- Place order on front using this product and customer and default shipping and payment methods
- Go to admin Sales => Orders
- Open previously placed order
- Create invoice by clicking Invoice button on top
- See order changed status to "Processing"
- Go to "Add Comment" form change status to "Sent" and add any comment
- Reload order form and see status changed to "Sent"
- Go to "Add Comment" form again and change status to "Ready for Pickup" and add any comment
- Reload order form
Questions or comments
Contribution checklist (*)
- [ ] Pull request has a meaningful description of its purpose
- [ ] All commits are accompanied by meaningful commit messages
- [ ] All new or changed code is covered with unit/integration tests (if applicable)
- [ ] README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- [ ] All automated tests passed successfully (all builds are green)
Hi @BeggiNN. Thank you for your contribution! Here are some useful tips on how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:
@magento give me test instance- deploy test instance based on PR changes@magento give me 2.4-develop instance- deploy vanilla Magento instance
:exclamation: Automated tests can be triggered manually with an appropriate comment:
@magento run all tests- run or re-run all required tests against the PR changes@magento run <test-build(s)>- run or re-run specific test build(s) For example:@magento run Unit Tests
<test-build(s)> is a comma-separated list of build names.
Allowed build names are:
Database CompareFunctional Tests CEFunctional Tests EEFunctional Tests B2BIntegration TestsMagento Health IndexSample Data Tests CESample Data Tests EESample Data Tests B2BStatic TestsUnit TestsWebAPI TestsSemantic Version Checker
You can find more information about the builds here :information_source: Run only required test builds during development. Run all test builds before sending your pull request for review.
For more details, review the Code Contributions documentation. Join Magento Community Engineering Slack and ask your questions in #github channel.
@magento run all tests
@magento run all tests
@magento run Static Tests, Unit Tests, Integration Tests
@engcom-Hotel Yes, I will rework the unit tests soon.
@magento run Unit Tests
@magento run all tests
@magento run Functional Tests B2B, Functional Tests EE, Functional Tests CE
@magento run all tests
@magento give me test instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://906222cbd2c0df8cfab04c6745494c87.instances-prod.magento-community.engineering Admin access: https://906222cbd2c0df8cfab04c6745494c87.instances-prod.magento-community.engineering/admin_c5a4 Login: fb43e730 Password: dc116064bdc0
Hi @BeggiNN,
Thanks for the collaboration & contribution!
:heavy_check_mark: QA Passed
Preconditions:
- Install fresh Magento
2.4-develop
Steps to reproduce
As per the Description
Before: :heavy_multiplication_x:
https://github.com/user-attachments/assets/44b40e2a-9256-426d-ac9e-0ae0d43e422d
After: :heavy_check_mark:
https://github.com/user-attachments/assets/1314ea99-ed2d-4d00-bb73-4e10c9b38eb8
Builds are failed. Hence, moving this PR to Extended Testing.
Thanks
@magento run all tests
@magento run Functional Tests B2B, Functional Tests EE
Functional B2B failures in recent 2 builds are not constant and one consistent failure is a known issue.
Run 1: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38923/5117af6736482c83543b2e44c9abaa46/Functional/allure-report-b2b/index.html#categories
Run 2: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38923/021f7465a77ed23032494110c40e7e8d/Functional/allure-report-b2b/index.html#categories/bdbf199525818fae7a8651db9eafe741
Known issues : AdminCreateDraftQuoteFromQuoteGridPageTest: #ACQE-6309
Some build failures from functional EE are not constant in recent 2 builds, seems to be flaky. One failure is constant and its a known issue. Hence moving this PR to Merge in Progress.
Run 1: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38923/5103f08befc51821ce422671547d4228/Functional/allure-report-ee/index.html#categories
Run 2: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38923/6247a086b89182e6ce8ce256eb1a73fb/Functional/allure-report-ee/index.html#categories
Known issues : StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest: #ACQE-6331
Was fixed by internal Adobe devs in https://github.com/magento/magento2/commit/18dee3d979ed8ee68a44324e892e6b7f570c987c, so we can probably close this PR?
Was fixed by internal Adobe devs in 18dee3d, so we can probably close this PR?
Seems to be fixed in https://github.com/magento/magento2/commit/18dee3d979ed8ee68a44324e892e6b7f570c987c under ACP2E-3178 hence closing it now.