Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view service returning an empty string rather than HTML #2010

Open
yvanlebras opened this issue Nov 6, 2024 · 4 comments
Open

view service returning an empty string rather than HTML #2010

yvanlebras opened this issue Nov 6, 2024 · 4 comments

Comments

@yvanlebras
Copy link
Contributor

Following metacatui issue NCEAS/metacatui#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):

  • OS: Windows
  • Browser Firefox
@taojing2002
Copy link
Contributor

taojing2002 commented Nov 6, 2024 via email

@robyngit
Copy link
Member

robyngit commented Nov 7, 2024

@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
Copy link
Contributor

taojing2002 commented Nov 8, 2024 via email

@taojing2002
Copy link
Contributor

@yvanlebras @robyngit I fixed the issue that the view service returning an empty string on search.dataone.org. The view service needs to read some web pages of the Metacat instance. However, the root certificate of the ca authority that signs our server wasn't in the java keystore. So the view service couldn't read those web pages successfully and returned an empty string. After I added the root certificate into the java keystore of the Metacat instance, it works well:

https://search.dataone.org/view/https%3A%2F%2Fpasta.lternet.edu%2Fpackage%2Fmetadata%2Feml%2Fedi%2F876%2F8

So I am wondering if PNDB has the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants