BlueBrain / BlueBrain/nexus

Studio - Data table Views are not working for certain views.

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

Description

- We do have views with the following id: https://bbp.epfl.ch/neurosciencegraph/data/views/aggreg-sp/dataset
- While this does not pose any problem when using the Sparql Query Editor since it is correctly URL-encoding the endpoint to target ttps://bbp.epfl.ch/nexus/v1/views/bbp/emodels/https%3A%2F%2Fbbp.epfl.ch%2Fneurosciencegraph%2Fdata%2Fviews%2Faggreg-sp%2Fdataset/sparql
- Selecting the same view id for a dashboard does not work, since the following endpoint is being targeted: https://bbp.epfl.ch/nexus/v1/views/bbp/emodels/views%252Faggreg-sp%252Fdataset/sparql
This then throws a 404 Not Found

This does not happen for other view id’s, e.g.:
@id
https://bbp.epfl.ch/neurosciencegraph/data/90dc62fe-cc5e-480b-95ea-cf5ca746e768 works both in the Sparql Query Editor and the studio dashboard, since they both hit
https://bbp.epfl.ch/nexus/v1/views/bbp/lnmcm/90dc62fe-cc5e-480b-95ea-cf5ca746e768/sparql

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Studio dashboard and Sparql Query Editor using the aggreg-sp dataset view ID and the UUID view ID shown in the report. Compare how each entry point constructs the Nexus SPARQL endpoint; done means the aggreg-sp view is addressed without double URL encoding and no longer returns 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.