molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
11 stars 16 forks source link

When create or update a schema (metadata) using the molgenis-emx2-pyclient I need to re-login again to see the new /updated schema #3902

Open dtroelofsprins opened 1 week ago

dtroelofsprins commented 1 week ago

What version of EMX2 are you using (see footer) v10.86.0

Describe the bug When creating a schema with create or recreate_schema or update the schema by uploading an adjusted molgenis.csv the new schema or updated metadata are not visible on a server if you are already logged in. You first need to logout and login again before being able to see that the script ran indeed successful. This already took quite some time from several people as they were not aware of this (or have forgotten that this occurs) and started debugging as they thought that the script was not working properly!

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://emx2.test.molgenis.org'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior When I run a script (locally) using the molgenis-emx2-pyclient that creates a schema or updates the metadata I should see the results without having to logout and login again on the server where the script ran on.

Additional context It works fine when adding/updating/deleting data in tables.