Skip to content

Fix timetable versions with empty schedules - #1628

Open
patricvincit wants to merge 1 commit into
mainfrom
fix-replacement-day-error
Open

patricvincit wants to merge 1 commit into
mainfrom
fix-replacement-day-error

Conversation

@patricvincit

@patricvincit patricvincit commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

The versions query can return a row for a day with no scheduled operations and no vehicle schedule frame. The mapper used the plain-text placeholder !Versio for the missing frame name, but the UI passed it to a helper that expects a localized-text object, causing the page to crash. Treat the frame name as absent and show “No service” instead.


This change is Reviewable

The versions query can return a row for a day with no scheduled operations and no vehicle schedule frame. The mapper used the plain-text placeholder !Versio for the missing frame name, but the UI passed it to a helper that expects a localized-text object, causing the page to crash. Treat the frame name as absent and show “No service” instead.
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Huulivoide Huulivoide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Huulivoide reviewed 2 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on patricvincit).

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.

2 participants