Hi,

A requirement for my organisation is to not force submitters to upload a 
file/bitstream. I have not been able to find any configuration for this 
feature. I tried modifying 
org.dspace.app.xmlui.aspect.submission.submit.UploadStep's setup method with 
the following, but the result of this is you still can't navigate away from the 
file upload form, and there's no message explaining why.

...
            //file/bitstream is not mandatory for my organisation
            file.setRequired(false);
            /*
            file.setRequired();
            //if no files found error was thrown by processing class, display 
it!
            if (this.errorFlag == 
org.dspace.submit.step.UploadStep.STATUS_NO_FILES_ERROR) {
                file.addError(T_file_error);
            }
            */
...

Can anyone provide information on this forced file upload feature?

Cheers
Kevin

Kevin Gunn
Database Programmer and Instrument Technician
Australian Institute of Marine Science
Cape Ferguson Townsville Qld Aust. 4810
+61 7 47534305
[email protected]<mailto:[email protected]>
www.aims.gov.au<http://www.aims.gov.au/>



--  
------------------------------------------------------------------------
The information contained within this transmission is for the
use of the intended recipient only and may contain confidential
and/or legally privileged material and/or material the subject
of copyright and/or personal information and/or sensitive
information that is subject to the Privacy Act 1988. Any review,
re-transmission, disclosure, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited. If you have received this email in error please
notify the AIMS Privacy Officer on (07) 4753 4444 and delete
all copies of this transmission together with any attachments.
------------------------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to