Closed mccalluc closed 2 years ago
This problem is occurring for a dataset which references a vis-lifted ome-tiff pyramid derived dataset. The primary dataset, d76ee69cff161f4605f9d65721f41f5d, is in QA but the ome-tiff pyramid derived dataset, e0654875a2ba5f7eb23bc3302c4bcbfd, is still being computed. Of a group of 6 similar Lightsheet datasets ingested in the past 2 days, only this one is still incomplete and only this one displays this problem. Thus I think the problem is transient and the issue will not be reproducible in a few hours when the derived dataset finishes.
Bill:
I’ll look into this further tomorrow AM. What does the Portal UI do now in the case where a dataset in the “New” state doesn’t have any metadata because it hasn’t been ingested yet?
My preference is for stable, reliable document structures: Every element that may or may not be present is another special case any client would need to cover.
But if you are unable to provide this, we can add a special case here in portal-ui if metadata
is missing.
@shirey -- The linked document works now. Can you explain what changed and close this issue?
@mccalluc Nothing at all changed that I know of. This is on my list of things to investigate further, but haven't gotten to it yet- I thought it was still broken. The bit of investigation that I did do last week, it looked like the metadata
field was available in both Neo4j and ES, but it wasn't clear to me that it was formatted correctly.
The metadata
was missing because of an errored and incomplete pipeline run. Once the pipeline was fixed an rerun the metadata
was back in place.
Currently, https://portal.hubmapconsortium.org/browse/dataset/d76ee69cff161f4605f9d65721f41f5d fails with a 500. In the logs:
To me, this seems to be analogous to the issue behind https://github.com/hubmapconsortium/portal-ui/pull/2147: In that case we decided that it was a data problem, and not a case the front-end needs to handle.