NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
28 stars 13 forks source link

view service returning an empty string rather than HTML #2010

Open yvanlebras opened 2 weeks ago

yvanlebras commented 2 weeks ago

Following metacatui issue https://github.com/NCEAS/metacatui/issues/2561 answsered by @robyngit , I open here an issue as it seems that there is issues on DataONE serach catalog as our PNDB catalog (maybe others?)

Describe the bug Previously, when going on a catalog 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 information) 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):

taojing2002 commented 2 weeks ago

Hi Yvan:

The two pages in the tickets are clearly rendered only by the solr index rather than the combination of the metadata object and the solr index. For the search.dataone.org, it is a known bug in the dataone theme in metacatui. But I can't find the ticket now. Robyn, would you please shed some light on this? It seems your theme has the same problem now.

Thanks,

Jing

On Wed, Nov 6, 2024 at 1:19 PM Yvan Le Bras @.***> wrote:

Following metacatui issue NCEAS/metacatui#2561 https://github.com/NCEAS/metacatui/issues/2561 answsered by @robyngit https://github.com/robyngit , I open here an issue as it seems that there is issues on DataONE serach catalog as our PNDB catalog (maybe others?)

Describe the bug Previously, when going on a catalog 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 information) 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 https://search.dataone.org/view/https%3A%2F%2Fpasta.lternet.edu%2Fpackage%2Fmetadata%2Feml%2Fedi%2F876%2F8 and see formatting (you can also go here https://data.pndb.fr/view/doi%3A10.48502%2F8bb5-pk85
  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.png (view on web) https://github.com/user-attachments/assets/93475915-d772-4c4d-988b-d6373650bb13

Desktop (please complete the following information):

  • OS: Windows
  • Browser Firefox

— Reply to this email directly, view it on GitHub https://github.com/NCEAS/metacat/issues/2010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5QQDAQDPLPGZNJJZWJO7TZ7KBWNAVCNFSM6AAAAABRJXT3S2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTSMRVGI3DAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

robyngit commented 2 weeks ago

@taojing2002 the view is being rendered from the index because the view service isn't returning anything for this dataset for some reason: https://search.dataone.org/cn/v2/views/metacatui/https%3A%2F%2Fpasta.lternet.edu%2Fpackage%2Fmetadata%2Feml%2Fedi%2F876%2F8

Note that the problem is the same on the member node page, it's not related to the DataONE theme: https://data.pndb.fr/view/doi%3A10.48502%2F8bb5-pk85

taojing2002 commented 2 weeks ago

I see. I need to take a look. Thanks, Robyn!

Jing

On Thu, Nov 7, 2024 at 5:40 AM Robyn @.***> wrote:

@taojing2002 https://github.com/taojing2002 the view is being rendered from the index because the view service isn't returning anything for this dataset for some reason: https://search.dataone.org/cn/v2/views/metacatui/https%3A%2F%2Fpasta.lternet.edu%2Fpackage%2Fmetadata%2Feml%2Fedi%2F876%2F8

Note that the problem is the same on the member node page, it's not related to the DataONE theme: https://data.pndb.fr/view/doi%3A10.48502%2F8bb5-pk85

— Reply to this email directly, view it on GitHub https://github.com/NCEAS/metacat/issues/2010#issuecomment-2462268767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5QQDDTJYK3ZRV26JLI4K3Z7NUVNAVCNFSM6AAAAABRJXT3S2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRSGI3DQNZWG4 . You are receiving this because you were mentioned.Message ID: @.***>