Skip to content

Resolved Cannot create shipment for remaining items #27414

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

Merged
merged 10 commits into from
May 18, 2020

Conversation

niravkrish
Copy link
Contributor

Description (*)

Steps to Reproduce (*)

Create an order, where at least one product has a Quantity of 2.

Example of order items : - 3 x product_1

  • 1 x product_2
  • 1 x product_3
    Create an invoice, shipment and creditmemo for:
  • 2 x product_1
  • 1 x product_2
  • 1 x product_3

Fixed Issues (if relevant)

  1. Cannot create shipment for remaining items #27141: Cannot create shipment for remaining items

Manual testing scenarios (*)

  1. Manual testing

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)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Mar 24, 2020

Hi @niravkrish. Thank you for your contribution
Here is some useful tips 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

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

Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

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

Hi @niravkrish,

Thanks for your contribution. Please address builds failures and consider adding some tests to verify expected behaviour.

@niravkrish
Copy link
Contributor Author

Hi @niravkrish,

Thanks for your contribution. Please address builds failures and consider adding some tests to verify expected behaviour.

Hello @lenaorobei
I have resolved unit testing.
can you please assist me how to solve rest of the failed test cases.
I am not able to figure out the failed test cases.

Thank you

@ihor-sviziev ihor-sviziev self-assigned this Apr 29, 2020
@ihor-sviziev ihor-sviziev added Severity: S2 Major restrictions or short-term circumventions are required until a fix is available. Auto-Tests: Covered All changes in Pull Request is covered by auto-tests Award: bug fix labels Apr 29, 2020
@ihor-sviziev ihor-sviziev linked an issue Apr 29, 2020 that may be closed by this pull request
@ihor-sviziev
Copy link
Contributor

@niravkrish I just fixed static test, looks like failing functional tests were false positives. I'll review this PR again when all tests will be finished

@ihor-sviziev ihor-sviziev added Severity: S1 Affects critical data or functionality and forces users to employ a workaround. and removed Severity: S2 Major restrictions or short-term circumventions are required until a fix is available. labels May 4, 2020
Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

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

✔ Approved

Failing tests looks not related to changes from this PR.

@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

Manual testing scenario:

  1. Create Order with items (for ex.);
  • Product 1 - 3 pcs.;
  • Product 2 - 1 pcs.;
  • Product 3 - 1 pcs.;
  1. Create an invoice, shipment and credit memo for:
  • Product 1 - 2 pcs.;
  • Product 2 - 1 pcs.;
  • Product 3 - 1 pcs.;
  1. Try to create a shipment for remaining items;

Before: ✖️ The Ship button disappeared

screenshot_19999

After: ✔️ The Ship button appeared and it became possible to create a shipment for remaining items

8888888

@engcom-Charlie
Copy link
Contributor

Failed functional tests not related to the changes in this PR

@slavvka slavvka added the Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. label May 8, 2020
@slavvka slavvka added this to the 2.4.0 milestone May 8, 2020
@slavvka slavvka changed the base branch from 2.4-develop to 2.4.0-develop May 8, 2020 18:56
@slavvka
Copy link
Member

slavvka commented May 8, 2020

@niravkrish @ihor-sviziev needs to be eretested after PHP 7.4 support is merged

Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

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

Failed tests not related to changes from this PR.
Approved ✔

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-7526 has been created to process this Pull Request

@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

Manual testing scenario:

  1. Create Order with items (for example);
  • Product 1 - 3 pcs.;
  • Product 2 - 1 pcs.;
  • Product 3 - 1 pcs.;
  1. Create an invoice, shipment and credit memo for:
  • Product 1 - 2 pcs.;
  • Product 2 - 1 pcs.;
  • Product 3 - 1 pcs.;
  1. Try to create a shipment for remaining items;

Actual Result:

✔️ The Ship button appeared and it became possible to create a shipment for remaining items

8888888

@engcom-Charlie
Copy link
Contributor

Failed test not related to changes from this PR.

@m2-assistant
Copy link

m2-assistant bot commented May 18, 2020

Hi @niravkrish, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests Award: bug fix Component: Sales Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: accept Release Line: 2.4 Severity: S1 Affects critical data or functionality and forces users to employ a workaround.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot create shipment for remaining items
7 participants