You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Dashboard does not display First Author for new author relationships to preprints created after our latest update (preprint-merge branch?). Author order remains correct in item view.
Janeway version
Preprints 1.4.0
To Reproduce
Confirm "First Author" role is working in some places:
Navigate to existing, published submission with multiple authors in moderator dashboard.
Set new author as First Author
Confirm new First Author correctly displays as First Author in item public view and in moderator dashboard.
Create new preprint:
Make a new submission with 1-2 authors
View submission in moderator dashboard view.
Confirm new First Author correctly displays as First Author in item public view
Note that preprint lacks a "First Author" in moderator dashboard.
Add new author from account table to existing preprint:
Navigate to existing, published submission with multiple authors in moderator dashboard.
Add an existing account as a new author, then set that author as First Author
Confirm new First Author correctly displays as First Author in item public view
Note that preprint now lacks a "First Author" in moderator dashboard.
Expected behavior
Name of the set First Author should display in "First Author" field.
Error msg from an author reorder attempt
>>> works = Preprint(2819)
>>> broke = Preprint(2825)
>>> works.preprintauthor_set.first()
<PreprintAuthor: Oliver Lamb linked to >
>>> broke.preprintauthor_set.first()
<PreprintAuthor: None None linked to >
>>> broke = Preprint(2823)
>>> broke.preprintauthor_set.first()
<PreprintAuthor: Alainna TW linked to >
>>> works.preprintauthor_set.first().full_name
'Oliver Lamb'
>>> broke.preprintauthor_set.first().full_name
'Alainna TW'
>>>
Screenshots
The text was updated successfully, but these errors were encountered:
alainna
changed the title
Preprints: First author is not displaying in dashboard view
Preprints: Newly added first authors are not displaying in dashboard view
Nov 3, 2021
tingletech
added a commit
to tingletech/janeway
that referenced
this issue
Nov 3, 2021
Describe the bug
Dashboard does not display First Author for new author relationships to preprints created after our latest update (preprint-merge branch?). Author order remains correct in item view.
Janeway version
Preprints 1.4.0
To Reproduce
Confirm "First Author" role is working in some places:
Create new preprint:
Add new author from account table to existing preprint:
Expected behavior
Name of the set First Author should display in "First Author" field.
Error msg from an author reorder attempt
Screenshots

The text was updated successfully, but these errors were encountered: