o2r-project / o2r-platform

⚠️ Project discontinued ⚠️ See https://github.com/o2r-project/o2r-UI
http://o2r.info/results/
Apache License 2.0
2 stars 8 forks source link

Author View not accessible if no compendium was uploaded #157

Open jansule opened 6 years ago

jansule commented 6 years ago

When users log in for the first time, they are not able to access their authorView. However, after uploading a compendium the view becomes accessible.

Steps for reproduction:

  1. shut down the docker containers with down -v
  2. restart platform and microservices
  3. log in on the platform
  4. click on the author name in the navbar (nothing happens)
  5. upload an ERC from the home view
  6. edit required metadata and save
  7. go to author page (will work now)
jansule commented 6 years ago

This might be related to the handling of the request for retrieving all compendia of an author. In the response we iterate over all results but have no handling if the response is empty.