geobtaa / geoblacklight_admin

MIT License
4 stars 2 forks source link

Troubleshoot assets that are attached, but do not show up in public record #68

Open karenmajewicz opened 4 months ago

karenmajewicz commented 4 months ago

Steps:

  1. Create new record with minimum required elements (https://geodev.btaa.org/admin/documents/unique-identifier/edit)
  2. Upload asset and select download
  3. Save record and note that it appears in GBL Admin
  4. View in the Geoportal - no attachment is present
karenmajewicz commented 4 months ago

Maybe there is just a lag between upload and when it published to Solr, as the GeoDatabase is now showing up.

Some files show up right away though.

ewlarson commented 4 months ago

Yeah, this is an order of operations issue.

If you add a new asset to a document, and select "Direct download file", that asset will be created but the parent document has not yet been re-index'd into Solr, which is necessary to expose that new file as one of the document's multiple downloads.

I'll make the app re-index the parent document when an associated asset is created.

ewlarson commented 3 months ago

Resolved. Need to fix CSV export now.