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

Cannot ship products that have less than 1 qty #36841

Closed
1 of 5 tasks
kevinruscoe opened this issue Feb 10, 2023 · 8 comments
Closed
1 of 5 tasks

Cannot ship products that have less than 1 qty #36841

kevinruscoe opened this issue Feb 10, 2023 · 8 comments

Comments

@kevinruscoe
Copy link

Preconditions and environment

  • Magento version
    2.4.5-p1

  • Anything else that would help a developer reproduce the bug
    Clean install, no additional modules.

Steps to reproduce

  1. Create a new product.
  2. Set the "Minimum Qty Allowed in Shopping Cart" to 0.25 and the "Qty Uses Decimals" to "Yes".
  3. Create a new order, adding the newly created product to the order, with the qty set to 0.5.
  4. Click "Ship" within the order.

Expected result

A shipment is made, with a product with the quantity of 0.5 .

Actual result

The "Items to Ship" table will be blank. Clicking "Submit Shipment" gives the error "Shipment Document Validation Error(s): You can't create a shipment without products."

Additional information

I discovered this problem when upgrading from 2.4.3-p1 to 2.4.4-p2, but it also exists on 2.4.5-p1.

Invoices seem to get generated fine with 0.5 being invoiced, and orders with 1.5 works.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@m2-assistant
Copy link

m2-assistant bot commented Feb 10, 2023

Hi @kevinruscoe. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@kevinruscoe
Copy link
Author

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @kevinruscoe. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@kevinruscoe
Copy link
Author

So, this seems fine in the dev branch (see order 000000003).

@engcom-Dash engcom-Dash self-assigned this Feb 10, 2023
@m2-assistant
Copy link

m2-assistant bot commented Feb 10, 2023

Hi @engcom-Dash. 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).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

@kevinruscoe
Copy link
Author

It looks like #36411 was the fixed PR

@kevinruscoe
Copy link
Author

Just confirming that #36411 fixes the problem.

@m2-community-project m2-community-project bot removed this from Ready for Confirmation in Issue Confirmation and Triage Board Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants