BBMRI-ERIC / negotiator-frontend

The BBMRI-ERIC Negotiator is a service for structured negotiation with biological resources dealing with human data and/or biological samples. The reference implementation for the frontend is available in this repository.
https://negotiator-v3.bbmri-eric.eu
4 stars 3 forks source link

[BUG] Error loading new user #192

Closed RadovanTomik closed 3 months ago

RadovanTomik commented 5 months ago

Describe the bug Frontend makes too many requests when the User logs in. If it is a new user it can lead to a conflict on the backend server. It should first call /userinfo wait for response, and only then issue more requests. How to reproduce Login as admin user in dev mode with a fresh DB.

RadovanTomik commented 4 months ago

modify the API calls so that the first one always goes to /userinfo and other endpoints are called only after successful response from the first one.