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
When a user attempts to upload a file but clicks an upload button that does not correspond to the document field it causes a server error
Janeway version
1.5.0
To Reproduce
Go to document management for any article
Click "Upload File"
Fill in file label
Select a document under "New Manuscript File"
Click the "Upload" button in the "Figure/Data File" section
Expected behavior
Probably this should cause a form error indicating there is no file to upload but also the interface could be changed so there aren't a bunch of different upload buttons.
Front-end Issues
If the issue is front-end specific please add the following details:
Desktop (please complete the following information):
MacOS 13.2.1
Firefox 118.0.1
The text was updated successfully, but these errors were encountered:
Investigated, and this particular bug squashed, but then failed tests, which when compared to original, were also failed by master branch.
-The manuscript and data files upload fine.
-The production files upload as manuscript.
-The proofing files appear to cause an infinite loop of uploads, requiring test server to be halted.
these must be addressed before this issue can be resolved.
Instead of a single upload button leading to a popup with multiple file upload options, multiple file upload buttons leading to a popup for uploading that specific file type:
so from this:
to this:
with similar popups for each of the other file types.
Initial solution to be replaced as per reviewer comment on #3847
Thanks for this StephDriver. Rather than having 4 buttons and 4 modals could we instead have a single button and a single popup and use a drop down for the file type on the form?
Describe the bug
When a user attempts to upload a file but clicks an upload button that does not correspond to the document field it causes a server error
Janeway version
1.5.0
To Reproduce
Expected behavior
Probably this should cause a form error indicating there is no file to upload but also the interface could be changed so there aren't a bunch of different upload buttons.
Front-end Issues
If the issue is front-end specific please add the following details:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: