Bug when reordering contributors

I noticed a bug when re-ordering contributors. It seems to occur under certain conditions only, but I noticed it repeatedly.

It seems to appear when I have a chapter in an edited volume, the author of which is one of the editors. It appears that the bug only occurs when using auto-complete, at least I could not reproduce it when entering all names manually.

Steps to reproduce:
1. Create a new Book Section entry.
2. Add a title (don’t know if that’s required).
3. Change the contributor role dropdown from "Autor" to "Editor".
4. Enter the name of the first editor.
5. Click on the + button
6. Enter the name of the second editor.
7. Click on the + button
8. Change the contributor role dropdown of the new field from "Editor" to "Author".
9. Enter the name of the first editor as author.
10. Choose "Move up" from the contributor role dropdown.

Result:

I have now this contributers list:

Editor: First editor
Author: First editor
Author: First editor

Thus, the second editor got lost in the process.

Expected result:

Editor: First editor
Author: First editor
Editor: Second editor

Of course I chould just add the author as the first entry to begin with. But I often have imported book metadata and want to add a chapter of the book by converting it from Book to Book Section. I then have the editors pre-filled, and want to add the author, which I then want to move to the top of the list. This is when things get messed up.
Sign In or Register to comment.