Innovate-Inc / EDG_metadata

EDG metadata on staging created for Innovate-Inc
0 stars 1 forks source link

Requests for non-existent records should return 404 errors #106

Closed torrin47 closed 7 years ago

torrin47 commented 7 years ago

Right now, links to details pages and metadata downloads for UUIDs that have no match in the EDG database first redirect to the edg-intranet server, then return a valid webpage that contains an error message within. Internal users trying to check for broken links, therefore, don't get a reliable and consistent 404 error that they could use for automatic testing, while external users end up with an error message saying that the edg-intranet server is inaccessible. Example: https://edg.epa.gov/metadata/catalog/search/resource/details.page?uuid=badUUID Instead:

torrin47 commented 7 years ago

Also add message explaining IPv6 issue.