Skip to content

[FEATURE] Display user-friendly error when Solr is unavailable#1994

Open
beatrycze-volk wants to merge 1 commit into
kitodo:mainfrom
beatrycze-volk:solr-error
Open

[FEATURE] Display user-friendly error when Solr is unavailable#1994
beatrycze-volk wants to merge 1 commit into
kitodo:mainfrom
beatrycze-volk:solr-error

Conversation

@beatrycze-volk

Copy link
Copy Markdown
Collaborator

Previously, if the Solr server was not reachable, the frontend might have shown a blank page or a generic error. This change introduces a dedicated error message for the user, informing them when the Solr server is not available.

A solrError variable is now assigned to the view when getSolr() returns false, triggering a new partial that displays a localized message. This improves the user experience by providing clear feedback in case of service interruptions.

Previously, if the Solr server was not reachable, the frontend might have shown a blank page or a generic error. This change introduces a dedicated error message for the user, informing them when the Solr server is not available.

A `solrError` variable is now assigned to the view when `getSolr()` returns `false`, triggering a new partial that displays a localized message. This improves the user experience by providing clear feedback in case of service interruptions.
@beatrycze-volk beatrycze-volk self-assigned this Jun 9, 2026
@beatrycze-volk beatrycze-volk added the ↷ feature A new feature or enhancement. label Jun 9, 2026
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (a3493ed) to head (f54ae29).

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #1994   +/-   ##
============================
============================

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

↷ feature A new feature or enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant