Skip to content

magento/magento2#38659: Change order status issue #38923

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

Closed
wants to merge 7 commits into from

Conversation

BeggiNN
Copy link
Contributor

@BeggiNN BeggiNN commented Jul 12, 2024

  • Fixed issue with changing order status

Description (*)

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes [Issue] Cannot update Order status in 2.4.7 #38659
  2. Fixes Cannot change intermediate custom status in admin using add comment form #38917

Manual testing scenarios (*)

  1. Install vanilla Magento
  2. Go to admin Stores => Order Status
  3. Create two statuses "Sent" and "Ready for Pickup" and bind them to "Processing" state
  4. Create product and register customer
  5. Place order on front using this product and customer and default shipping and payment methods
  6. Go to admin Sales => Orders
  7. Open previously placed order
  8. Create invoice by clicking Invoice button on top
  9. See order changed status to "Processing"
  10. Go to "Add Comment" form change status to "Sent" and add any comment
  11. Reload order form and see status changed to "Sent"
  12. Go to "Add Comment" form again and change status to "Ready for Pickup" and add any comment
  13. 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)

- Fixed issue with changing order status
Copy link

m2-assistant bot commented Jul 12, 2024

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

❗ 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:
  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here
ℹ️ 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.

@m2-community-project m2-community-project bot added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Jul 12, 2024
@m2-github-services m2-github-services added Partner: Perspective Team partners-contribution Pull Request is created by Magento Partner labels Jul 12, 2024
@BeggiNN
Copy link
Contributor Author

BeggiNN commented Jul 12, 2024

@magento run all tests

@sinhaparul sinhaparul added the Project: Community Picked PRs upvoted by the community label Jul 17, 2024
@engcom-Hotel
Copy link
Contributor

@magento run all tests

Copy link
Contributor

@engcom-Hotel engcom-Hotel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @BeggiNN,

Thanks for your contribution!

It seems that the build failures are due to PR changes, please look into it.

Thanks

@engcom-Hotel
Copy link
Contributor

@magento run Static Tests, Unit Tests, Integration Tests

@BeggiNN
Copy link
Contributor Author

BeggiNN commented Aug 1, 2024

@engcom-Hotel Yes, I will rework the unit tests soon.

@engcom-Hotel
Copy link
Contributor

@magento run Unit Tests

@engcom-Hotel
Copy link
Contributor

@magento run all tests

@engcom-Hotel
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests EE, Functional Tests CE

@engcom-Hotel
Copy link
Contributor

@magento run all tests

@engcom-Bravo
Copy link
Contributor

@magento give me test instance

Copy link

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

Copy link

@engcom-Bravo
Copy link
Contributor

Hi @BeggiNN,

Thanks for the collaboration & contribution!

✔️ QA Passed

Preconditions:

  • Install fresh Magento 2.4-develop

Steps to reproduce

As per the Description

Before: ✖️ 

Screen.Recording.2024-07-12.at.12.19.23.mov

After: ✔️

Screen.Recording.2024-09-03.at.13.07.22.mov

Builds are failed. Hence, moving this PR to Extended Testing.

Thanks

@engcom-Charlie engcom-Charlie self-assigned this Sep 4, 2024
@engcom-Charlie
Copy link
Contributor

@magento run all tests

@engcom-Charlie
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests EE

@engcom-Charlie
Copy link
Contributor

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

image

Run 2:
https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38923/6247a086b89182e6ce8ce256eb1a73fb/Functional/allure-report-ee/index.html#categories

image

Known issues :
StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest: #ACQE-6331

@hostep
Copy link
Contributor

hostep commented Sep 13, 2024

Was fixed by internal Adobe devs in 18dee3d, so we can probably close this PR?

@engcom-Charlie
Copy link
Contributor

Was fixed by internal Adobe devs in 18dee3d, so we can probably close this PR?

Seems to be fixed in 18dee3d under ACP2E-3178 hence closing it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Perspective Team partners-contribution Pull Request is created by Magento Partner Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Project: Community Picked PRs upvoted by the community
Projects
None yet
7 participants