assemblee-virtuelle / assemblee-virtuelle/semapps

Data Provider: improve error message if ontology does not exist

Open
#988 0 comments 0 reactions 0 assignees View on GitHub
data-provider
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

Currently, if you use an ontology for dereference, for example, that is not known to the front end, you get this critical error:

`Cannot read properties of undefined (reading 'url')`

It would be better to have a clear error message (like “Cannot find ontology: sec”).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file or test. Start by tracing the Data Provider path that handles ontology dereferencing and reproduce the unknown-ontology case, such as `sec`. Done means replacing the critical undefined-property error with a clear message identifying the missing ontology.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.