BlueBrain / BlueBrain/nexus

Cannot get Project resource

Open
#3,790 1 comment 0 reactions 0 assignees View on GitHub
bug delta
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Environment
MacOS 12.5.1
Chrome 110.0.5481.177 (Official Build) (x86_64)
Environment: dev
Fusion v1.8.0-M16-1
Delta v1.8.0-M5+11-28ecbf22-SNAPSHOT

## Description
Unable to open a project resource in the side panel. Delta appears to return an error.

How to reproduce:
1. Open Fusion (M16)
2. Go to Admin > Browse panel
3. Filter by type: Project, a single resource should be listed
4. Click on it to open the side panel, you get an error. Below is what's returned by Delta

GET https:///nexus/v1/resources/copies/sscx/_/https%3A%2F%2Fdev.nise.bbp.epfl.ch%2Fnexus%2Fv1%2Fprojects%2Fcopies%2Fsscx

returns HTTP 404 with the following response:
```
{
"@context": "https://bluebrain.github.io/nexus/contexts/error.json",
"@type": "ResourceNotFound",
"rejections": [
{
"@type": "ResourceNotFound",
"reason": "File 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Resource 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Storage 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "ElasticSearch view 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Blazegraph view 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Composite view 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Schema 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
},
{
"@type": "ResourceNotFound",
"reason": "Resolver 'https://staging.nise.bbp.epfl.ch/nexus/v1/projects/bbp_test/studio_data' not found in project 'bbp_test/studio_data'.",
"status": 404
}
]
}
```

Please note that in the reason it speaks of `staging` even so this was collected from `dev`. This is likely related to the copy of data from staging to dev. The same has happened in the following dev project: `bbp-users/kerrien`.

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.