Describe the bug
Bitstream/Attachment uploaded at the beginning of the submission process disappears as soon as the "terms acceptance" check box is checked and the "Deposit" button gets deactivated.
Upon re-uploading the attachment in the same submission process, both fresh and previous attachments uploaded appear. Upon selecting the "terms acceptance" check box on the second attempt, the "Deposit" button remains activated.
To Reproduce
Steps to reproduce the behavior:
- Go to the item submission form, upload bitstream at the beginning of the process, or drag and drop at any time.
- Click on the checkbox appearing next to "I confirm the license above". After refresh, you will notice the Deposit button will get de-activated and bitstream uploaded will not appear in the Upload files section.
- Upload the same bitstream again using any of the available methods
- Click on the checkbox appearing next to "I confirm the license above". After refresh, you will notice that bitstream will appear twice and the Deposit button will stay active for completing the submission.
Expected behavior
Upon clicking the checkbox appearing next to "I confirm the license above", the bitstream added in the form should not disappear and the Deposit button should get activated for finishing submission.
Related work
Link to any related tickets or PRs here.
Describe the bug
Bitstream/Attachment uploaded at the beginning of the submission process disappears as soon as the "terms acceptance" check box is checked and the "Deposit" button gets deactivated.
Upon re-uploading the attachment in the same submission process, both fresh and previous attachments uploaded appear. Upon selecting the "terms acceptance" check box on the second attempt, the "Deposit" button remains activated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Upon clicking the checkbox appearing next to "I confirm the license above", the bitstream added in the form should not disappear and the Deposit button should get activated for finishing submission.
Related work
Link to any related tickets or PRs here.