Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rendering a list of conceptschemes #101

Closed
koenedaele opened this issue Oct 5, 2023 · 0 comments
Closed

Update rendering a list of conceptschemes #101

koenedaele opened this issue Oct 5, 2023 · 0 comments

Comments

@koenedaele
Copy link
Member

Part of OnroerendErfgoed/atramhasis#850

Todo:

  • Get the URI from provider.get_vocabulary_uri as opposed to provider.concept_scheme.uri
  • Handle ProviderUnavailable exceptions due to fetching the label or find another way to have the list work when an external provider is down (AAT being the most common culprit)
@koenedaele koenedaele changed the title Updaten rendering a list of conceptschemes Update rendering a list of conceptschemes Oct 19, 2023
koenedaele added a commit that referenced this issue Oct 20, 2023
…103)

* Better error handling of conceptschemes that fail to load. Refs #101

* Add test, fix error message, avoid getting label twice.

#101

* When there is no exception but no label, fallback to vocabulary uri.

#101

---------

Co-authored-by: Wim De Clercq <declewi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant