Skip to content

Handle missing inventory details

Inventory details page does not handle an error response from the API and simply displays a blank page. Any follow up navigation (without SSR) to a valid inventory page continues to show the blank page. Steps to reproduce:

  1. Open https://staging.ggce.genesys-pgr.org/inventory/1000000000 (no such ID) shows a blank page, but should show a snack with the error.
  2. Click Inventory menu to load the list of inventories
  3. Click any of the inventories to show details and observe that data is not loaded (no API call is made) and the page stays blank.