[v1.2.9] How to fix the breaks shipments issue in M2.4.1?

Created by Rosa Truong, Modified on Fri, 08 Jan 2021 at 02:50 PM by Rosa Truong

Issue:


With the latest Customer Attributes module 1.2.9 and M2.4.1 creating a full shipment for an order does not automatically change the order status to 'Complete'. It stays in the current status, normally 'Processing'.  

The shipment is created, but a new duplicate shipment can also be created, as the system does not seem aware of the items already shipped.

In the 'Items Ordered' table under the Qty column, the 'Shipped X' information is missing after the shipment is created.

When I disable the module the shipments, status, and quantities all work as expected.

How to fix this issue?


Solution: 


The root of the issue is that the API gets the order two times and causes the issue on M2.4.1.

To solve this issue, please edit the file app/code/Bss/CustomerAttributes/Plugin/Api/OrderRepositoryInterface.php

Could you please replace the fixed file and flush the cache on the site?


If you need any further support, please feel free to contact us.

We're more than happy to support you.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article