NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 28 forks source link

Metacatui display of metadata pages miss some formatting #2561

Closed yvanlebras closed 3 weeks ago

yvanlebras commented 1 month ago

Describe the bug Previously, when going on a Metacatui data page, there was a nice diplay of the metadata content, organized in sections, for example each entity was separately displayed with relative content in it (attributes listing and relatevie atribute infroamtion) but now, it seems we have somethnig like unorganized lists of elements. This is the case in our French catalog but seems to be the same on search.dataone catalog also.

To Reproduce

  1. Go here and see formatting (you can also go here
  2. Scroll down to search entity field...
  3. There is no entity field (data table or other)

Expected behavior A clear and nice section to describe each entity content with list of each attribute and for each, detailled related to it.

Like in this screenshot: Image3

Desktop (please complete the following information):

robyngit commented 3 weeks ago

@yvanlebras the dataset is displayed like this because MetacatUI is rendering the content given information from the Solr Index, rather than from the view service. It's doing this because the view service is returning an empty string rather than HTML, so it resorts to rendering from index as a fallback. This is a backend problem, maybe something went wrong with indexing this dataset, or some other problem occurred while generating the view HTML. I'm going to close this for now, since MetacatUI is responding as it should. Let me know if you have questions or if I can pass some on to the backend team!