Closed (fixed)
Project:
Commerce Shipping
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Dec 2018 at 21:03 UTC
Updated:
28 Jan 2020 at 12:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aaronbaumanCross-referencing PR: https://github.com/drupalcommerce/commerce_shipping/pull/10
Comment #3
bojanz commentedLet's create a patch please.
Comment #4
aaronbaumanComment #5
aaronbaumanIf this looks like the right approach, i can update the logging method + translation to DIC if that's important
Comment #6
mglamanHandling exceptions when calculating is a good call. We should add a test with a test shipping method plugin which throws an exception as well
Comment #7
mglamanMoving to NW per my last comment, we need to add a test.
Comment #8
aaronbaumanFinally getting around to a reroll here, with test
- "TEST-ONLY" should fail
- regular patch fixes the test
Comment #9
dkosbob commentedPatch no longer applying, here is a reroll.
Comment #10
jsacksick commentedThe logic for calculating rates now lives in the ShipmentManager, so the ShipmentManagerTest needs to be updated and the exception should be caught in the ShipmentManager.
Comment #11
jsacksick commented_
Comment #12
jsacksick commentedComment #13
bojanz commentedCommitted. Thanks, everyone.