You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "mridulpathak (via GitHub)" <gi...@apache.org> on 2026/07/29 08:29:40 UTC
[PR] Fixed: Reject shipments mixing ship groups with different destinations (OFBIZ-5346) (backport to release24.09) [ofbiz-framework]
mridulpathak opened a new pull request, #1509:
URL: https://github.com/apache/ofbiz-framework/pull/1509
Fixed: Reject shipments mixing ship groups with different destinations
(OFBIZ-5346)
Backport of #1508 to release24.09.
- A `Shipment` could receive items from `OrderItemShipGroup`s with different
destinations, causing `InvoiceServices.createInvoicesFromShipments` to tax
shipping charges against the wrong state (it uses only the primary ship
group's address).
- `issueOrderItemShipGrpInvResToShipment` now rejects issuing an item whose
ship group destination differs from the shipment's primary one, comparing
the full `(orderId, shipGroupSeqId)` pair to also catch cross-order
collisions.
- `PackingSession.checkShipGroupDestinations()` adds the same check earlier
in the manual Pack Order flow, before any `Shipment`/`ItemIssuance` rows
are created.
- Fixes a 2020 regression (`7fcde49d82` / OFBIZ-11462) that mixed ship
groups' items in `quickShipEntireOrder` when they shared a facility, plus
a related early-return that could abort shipment creation for remaining
ship groups.
- Adds `ShipmentTests.groovy` coverage for all of the above.
Thanks to Christian Carlow for reporting this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fixed: Reject shipments mixing ship groups with different destinations (OFBIZ-5346) (backport to release24.09) [ofbiz-framework]
Posted by "mridulpathak (via GitHub)" <gi...@apache.org>.
mridulpathak merged PR #1509:
URL: https://github.com/apache/ofbiz-framework/pull/1509
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org