Do not allow more than one seqfile per plasmid
In edit mode, we can select several seqfiles for a given plasmid. This is a source of bugs and misfunction and therefore not acceptable. A single file should be permitted.
In edit mode, we can select several seqfiles for a given plasmid. This is a source of bugs and misfunction and therefore not acceptable. A single file should be permitted.
added bug code-quality essential labels
changed the description
changed milestone to %v2.1
assigned to @gyvert
Here is the stored string in an example of two seqfiles uploaded:
[{"download_link":"plasmids/seqfilesv1/pGY5.gb","original_name":"pGY5.gb"},{"download_link":"plasmids/February2022/U1lBekcP371DdDIZ2jKX.gb","original_name":"pGY674.gb"}]
We can consider looking for the occurrence of download_link
and verify that it is unique.
Probably better: use a custom view for the formfield; or a custom formfield where we deal with cases of multiple entries.
mentioned in issue #151 (closed)
marked this issue as related to #151 (closed)
mentioned in commit 8ed37e97
Fixed by customizing the formfield's view.
closed