NCIOCPL / cgov-digital-platform-dynamic-services

Legacy CDE Services
1 stars 2 forks source link

Handle unexpected casing for language and dictionary in the Glossary HREF handler. #12

Open blairlearn opened 3 years ago

blairlearn commented 3 years ago

There is a problem in the existing Glossary HREF handler where passing the language with unexpected casing (e.g. "english" or "spanish" instead of "English" or "Spanish") causes the unprocessed language value to be passed to the glossary API.

Additionally, the handler should exit gracefully (no unhandled exceptions) when the API returns an unexpected status code.

Parent Issue: #9999

Sub-Tasks

Notes