Closed danidi closed 9 years ago
It's because the exactMatch block is a singleton and the code thinks it should be an array. I started fixing this in OPS.js (the library that parses the results) earlier in the week.
Opened https://github.com/openphacts/ops.js/issues/15 to track the OPS.js fix.
Opened https://github.com/openphacts/explorer2/issues/7 to track the explorer fix.
It seems that when a label is missing from the Compound Information API call (compare with https://github.com/openphacts/GLOBAL/issues/212), no other information is displayed on the compound information page, even though it is available from the API.
http://explorer2.openphacts.org/compounds?uri=http%3A%2F%2Fwww.conceptwiki.org%2Fconcept%2F58124e75-a5b0-496c-b198-ff4529d9090a
The corresponding API call returns the following:
So at least the properties from ops.rsc could be shown on the Explorer page.
(Raised in http://support.openphacts.org/helpdesk/tickets/93)