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

Loading (biobank_directory) template gets stuck in case of discrepancy between old and new Ontologies schema #4565

Open
1 task done
dtroelofsprins opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dtroelofsprins
Copy link
Contributor

Have you checked if this issue already exists?

  • yes

Molgenis EMX2 version

11.40.2

Description

If a server contains one or more schemas based on the biobank_directory (or _staging) template and the server is then upgraded to a new MOLGENIS EMX2 version which includes changes in the DirectoryOntologies schema (use-case is with adding of new tables and removal of one other ontology table), it's impossible to create a new schema with the biobank_directory template: the upload of the template keeps spinning forever at the loading of the ontologies step (can only be stopped by restarting the server).
This doesn't happen in case only data model changes have been done and DirectoryOntologies data/tables haven't changed.

This also may hold for other templates, didn't test that.

Reproduction steps

  1. Use local host or another test-server
  2. Up or downgrade to Molgenis EMX2 v11.28.2
  3. Create a schema using the BIOBANK_DIRECTORY template
  4. Upgrade the server to v11.40.2
  5. Create a new schema with the same template (or remove old schema and create again) => see that the template won't load
  6. Delete all biobank_directory related schemas, including the DirectoryOntologies and upload template again => see that it works fine

Expected behaviour

Throw an error and not keep running for ever in case of incompatibilities between old and new DirectoryOntologies schema and not keep spinning forever.

System configuration

  • Device: Computer
  • Operating system: Ios
  • Browser:Safari
@dtroelofsprins dtroelofsprins added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant