Repository navigation
Conversation
Use PageRepository.getFallback instead of throwing ContentNotFoundException when the Team page has no row in the database. A fresh database now serves the bundled JSON instead of returning 404. Replace the not-found test with one asserting the fallback page is returned.
Use PageRepository.getFallback instead of throwing ContentNotFoundException when the Partners, Code of Conduct, About Us or Celebrate Her pages have no row in the database. A fresh database now serves the bundled JSON instead of returning 404. Replace the not-found tests with tests asserting the fallback page is returned.
Use PageRepository.getFallback instead of throwing ContentNotFoundException when the Collaborator page has no row in the database. A fresh database now serves the bundled JSON instead of returning 404. Return the fallback page without pagination, matching EventService.getEvents. Replace the not-found test with test asserting the fallback page is returned.
suread
requested review from
OlenaReukova,
Sowmiya07,
Tooonia,
dricazenck,
lauracabtay,
nora-weisser and
nverbic
October 31, 2026 16:09
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Changes
init-datainstead of throwing ContentNotFoundException (404 for end user)Why is this change required?
What problem does it solve?
Steps to reproduce:
docker compose -f docker/docker-compose.yml up postgres)select id from page;returns no rowsAdditional notes
Related Issue
Fixes #754
Change Type
Screenshots
Team page - before fix

Collaborators page - before fix

Team page - after fix

Collaborators page - after fix

About us page - after fix

Celebrate Her page - after fix

Code of Conduct page - after fix

Partners page - after fix

Pull request checklist
Please check if your PR fulfills the following requirements: