500 error when opening compare samples page in some workflows
Description
Seen in https://vdb.vidjil.org/_dashboard/ticket/9d156cdf-f59d-4543-82ac-a5ae73e0fef9 : in some case (not clearly identified yet), we do not get on id in request query, leading to a server error. The error occurred at least 4 times
Reproducibility ?
A way to reproduce :
- Go to a sample list
- Click on a tag in the info of one of the samples --> error occurs
There may be other way to get this error (at least with the hidden compare samples button from the patient page - but it is hidden)
fix clue
In the HF, will be mitigated as the presence of the id
is explicitly checked, producing a clear error and not a server failure.
However, we have to decide whether we should be able to open this kind of link and what is the expected result.
Priority
Low?