elixir-luxembourg / daisy

Data Information System (DAISY) is a data bookkeeping application designed to help Biomedical Research institutions with their GDPR compliance.
GNU Affero General Public License v3.0
12 stars 10 forks source link

Project don't get ELU_ACCESSION id when dataset are published #456

Closed neoflex closed 10 months ago

neoflex commented 10 months ago

Describe the bug (current behaviour)

It seems that at least in some cases, the project don't get an ELU_ACCESSION as they should. The expected behavior is that the first time an exposure is created for a dataset, the dataset gets an ELU_ACCESSION id and that seems to work but the corresponding project should also get one if it doesn't already have one.

To reproduce

  1. Create a project
  2. Create a connected dataset
  3. Create an exposure for the dataset

Expected behavior

Both the project and the dataset get their own ELU_ACCESSION ID (from the id service)

Environment: