openlibhums / janeway

A web-based platform for publishing journals, preprints, conference proceedings, and books
https://janeway.systems/
GNU Affero General Public License v3.0
168 stars 63 forks source link

article submission fails when there are multiple of the same keyword #2306

Closed hachacha closed 1 month ago

hachacha commented 3 years ago

Describe the bug An editor submits an article on /submit/477/info/ and it fails. the stacktrace says that it found multiple keywords when just looking up a single one. This is before any keywords had been submitted through the form.

Janeway version 7739efb00070221bdd6cb76d53c0d65724826dd4

To Reproduce figured out that the keywords are not unique but should be. this likely happened after using the import plugin and there are multiple blank keywords so that would probably be the first step to reproduce. but once those are in there try to submit an article. the last version that we had up this did not appear to be a problem. that was 1.3.8

Expected behavior you submit the article and everyone cheers.

ajrbyers commented 1 month ago

This issue was fixed by https://github.com/BirkbeckCTP/janeway/pull/2754