dulibrarytech / digitaldu-frontend

Digital Collections DU front end
Apache License 2.0
3 stars 0 forks source link

Invalid part id in /manifest route causes crash #375

Closed jrynhart closed 3 years ago

jrynhart commented 3 years ago

Quick fix applied to prevent crash, invalid part id will get manifest for parent object Update to return a 404 for an invalid or nonexistent part id

jrynhart commented 3 years ago

Currently, if no part data is found, the parent object manifest is generated by default

If no part data is found for specified object part, skip the manifest service code and return null manifest value to controller. Controller will return a 404 status