mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
prevent the occurrence of internal server error while adding a bitstream to an item if the upload button is pressed without selecting a file
This commit is contained in:
@@ -1474,6 +1474,7 @@ jsp.tools.move-item.inheritpolicies = Inherit defaul
|
||||
jsp.tools.upload-bitstream.info = Select the bitstream to upload
|
||||
jsp.tools.upload-bitstream.title = Upload Bitstream
|
||||
jsp.tools.upload-bitstream.upload = Upload
|
||||
jsp.tools.upload-bitstream.select.file.msg = No file has been selected
|
||||
jsp.workspace.ws-error.errormsg1 = The system was unable to process your request correctly. You must specify an item.
|
||||
jsp.workspace.ws-error.errormsg2 = Go back to "My DSpace", and select "Open" for the WorkSpace Item that you wish to work with. If you are still experiencing problems please do not hesitate to contact us and we will do our best to solve the problem.
|
||||
jsp.workspace.ws-error.heading = Error - Workspace Item
|
||||
|
@@ -43,7 +43,7 @@
|
||||
|
||||
<form method="post" enctype="multipart/form-data" action="">
|
||||
<div class="container row">
|
||||
<input class="form-control" type="file" size="40" name="file"/>
|
||||
<input required="<fmt:message key="jsp.tools.upload-bitstream.select.file.msg"/>" class="form-control" type="file" size="40" name="file"/>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="item_id" value="<%= item.getID() %>"/>
|
||||
|
Reference in New Issue
Block a user