Fixing Manila Medical Center Break to Next Build #19759
Labels
Accelerated Publishing
CMS Team
CMS Product team that manages both editor exp and devops
next-build
FE Repository that will replace content-build. Uses NextJS, builds static pages.
VA Manila
Special case VAMC that has custom code implementation
User Story or Problem Statement
Next Build should take into account the possibility of missing data so that data problems in the CMS do not cause build problems in Next Build.
Description or Additional Context
Per @timcosgrove:
According to this ticket: #18931
The decision was made to not follow the existing VAMC System / VAMC Facility structure, but to instead make the VAMC Facility the root of the Manila structure and to not have a published VAMC System.
The problem for Next Build here is that for any given facility page with a facility sidebar, we use
field_office
to locate the menu for that page, and this points to a VAMC System. If the VAMC System is unpublished, there is no data and we cannot grab the menu.Steps for Implementation
Modify Next Build so that it checks for menu availability before attempting to build the menu.
We will need a follow-up ticket to figure out how to handle the Manila case.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: