BlueBrain / BlueBrain/nexus

Metadata Plugin: Unable to see the License linked

Open
#3,101 0 comments 0 reactions 0 assignees View on GitHub
bug fusion fusion-plugin
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Summary**
As reported by @karinholm via HotJar.
She browsed a morphology in public/sscx (prod) and was presented with the following Metadata plugin:

![Screenshot 2022-02-04 at 09.04.02.png](https://images.zenhubusercontent.com/60ad1ee0d2c5ea18af754dc0/8e7b9bb1-bdd6-43a6-8c3f-455a7795df22)

The License appears clickable. But opening it, you get an HTTP 404:
https://bbp.epfl.ch/neurosciencegraph/data/licenses/97521f71-605d-4f42-8f1b-c37e742a30bf

**Proposed Fix**
- if the license is in the resource payload, present the name/label
- if we have an ID,
- if the resource is Nexus managed: fetch the resource and present the name/label. Clicking the label opens the resource panel for that resource. In some cases, there are Files attached to License (see the above license in public/sscx).
- if the resource is outside our Nexus deployment (e.g. https://creativecommons.org/licenses/by/4.0/), present a link to that URL.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.