Setup:
* 2 shipping methods enabled, Fedex and USPS
* USPS working propertly
* Fedex failing (bug filed separately)

Expectation:
* USPS shipping method will still be displayed
* Fedex failure logged

Observed:
* No shipping methods displayed, user cannot proceed to checkout

Comments

aaronbauman created an issue. See original summary.

aaronbauman’s picture

Status: Active » Needs review
bojanz’s picture

Let's create a patch please.

aaronbauman’s picture

aaronbauman’s picture

If this looks like the right approach, i can update the logging method + translation to DIC if that's important

mglaman’s picture

Issue tags: +Needs tests

Handling exceptions when calculating is a good call. We should add a test with a test shipping method plugin which throws an exception as well

mglaman’s picture

Status: Needs review » Needs work

Moving to NW per my last comment, we need to add a test.

aaronbauman’s picture

Finally getting around to a reroll here, with test

- "TEST-ONLY" should fail
- regular patch fixes the test

dkosbob’s picture

Patch no longer applying, here is a reroll.

jsacksick’s picture

The 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.

jsacksick’s picture

Status: Needs review » Fixed

_

jsacksick’s picture

Status: Fixed » Needs review
bojanz’s picture

Status: Needs review » Fixed

Committed. Thanks, everyone.

  • bojanz committed 938ed0c on 8.x-2.x authored by AaronBauman
    Issue #3017776 by AaronBauman, jsacksick, dkosbob, mglaman: Exception in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.