Skip to content

fix(fares): Allow grouped fare cards to ingest Summarys#3329

Open
jlucytan wants to merge 3 commits into
mainfrom
jlt/fix/500-on-ferry-fares
Open

fix(fares): Allow grouped fare cards to ingest Summarys#3329
jlucytan wants to merge 3 commits into
mainfrom
jlt/fix/500-on-ferry-fares

Conversation

@jlucytan

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: 🐞 500 error when visiting the latest (preview) version of the ferry fares page

Implementation

Changes a few group_fare_card calls to handle the case that the fare returned from fare_from_token is a Summary instead of a Fare.

Additionally trims whitespace from tokens so ferry_winthrop (note the space) doesn't result in an invalid fare

Screenshots

Before
before fixing grouped fare card:
image

after fixing grouped fare card, before trimming single tokens:
image

After
image

How to test

Verify that this ferry fare preview page loads and properly displays the grouped fare and the Winthrop fare.

@jlucytan jlucytan requested review from a team and amaisano as code owners July 10, 2026 17:34
@jlucytan jlucytan requested a review from lvachon1 July 10, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant