GSA / datagov-ckan-multi

Other
10 stars 6 forks source link

Additional metadata links result in a 404 #460

Closed adborden closed 3 years ago

adborden commented 4 years ago

https://catalog-next.sandbox.datagov.us/dataset/basemap-framework-submission-for-santa-fe-county-nm-and-incorporated-areas

The primary "Download Metadata" URL works correctly, but the others result in a 404:

Screen Shot 2020-09-25 at 2 12 29 PM

How to reproduce

  1. https://catalog-next.sandbox.datagov.us/dataset/basemap-framework-submission-for-santa-fe-county-nm-and-incorporated-areas
  2. Click "View Full Metadata", "Download Original Metadata", or "View Original Full Metadata"

Expected behavior

View Full Metadata is an HTML rendering of the ISO-19139 transformed metadata.

Download Original Metadata should show the original CSDGM formatted metadata, before the transform.

View Original Full Metadata is an HTML rendering of the CSDGM formatted metadata.

Actual behavior

All three links result in 404, page not found.

adborden commented 4 years ago

Before picking this up, I'd like to understand the effort involved in fixing these. Are these links from our forks? Do we understand the use case for these, or which audience these are for?

avdata99 commented 4 years ago

@adborden it seems we just miss to add the spatial_harvest_metadata_api plugin. ref code

Started PRs: PR for deploy: https://github.com/GSA/datagov-deploy/pull/2311 PR for catalog-next: https://github.com/GSA/catalog.data.gov/pull/148

I cannot test locally due to lack of an FGDC service locally

If I add manually the plugin in the sandbox and try again the URLs we don't have these 404 errors any more

image

avdata99 commented 4 years ago

Regarding the audience: these URLs show the source document before being harvested. I guess it's for technical users

avdata99 commented 4 years ago

the QA this will be required to re-harvest the source. I just re-launch a new harvest process at the sandbox.

adborden commented 4 years ago

Verified on sandbox.