http://data.rpi.edu/repository/
CentOS release 5.9
dspace 1.8.2
Apache Tomcat 7.0.26

Browsing data holdings I then clicked on "Export item" in the left-hand 
navigation. It took me to a page:

The item was exported successfully. You should receive an e-mail when the 
archive is ready for download. You can also use the 'My Exports' link to view a 
list of your available archives.

But then I received an email:

The item export you requested was not completed, due to the following reason:
Directory /opt/dspace-1.8.2-release/exports/item_export_2013_Apr_24_1_3/1 
already exists!

For more information you may contact your system administrator:
http://data.rpi.edu/repository/feedback

A few problems here:
1. yes, the directory already exists. Are there restrictions on the number of 
exports a user can do?
2. the link for the feedback page says:

org.dspace.authorize.AuthorizeException: The feedback mail page may only be 
invoked from another DSpace page


Biggest issue is that the export failed.

3. There's a full path in an error message to a user. Not very secure

The dspace log file says:

2013-04-24 13:18:18,861 WARN  org.dspace.app.itemexport.ItemExport @ An
error occured during item export, the user will be notified. Directory
/opt/dspace-1.8.2-release/exports/item_export_2013_Apr_24_1_3/1 already
exists!

The tomcat log says:

Beginning export
Exporting item to 1
Exporting Item 14 to
/opt/dspace-1.8.2-release/exports/item_export_2013_Apr_24_1_3/1
Exception in thread "Thread-2930" java.lang.IllegalStateException:
java.lang.Exception: Directory
/opt/dspace-1.8.2-release/exports/item_export_2013_Apr_24_1_3/1 already
exists!
        at
org.dspace.app.itemexport.ItemExport$1.run(ItemExport.java:1003)
Caused by: java.lang.Exception: Directory
/opt/dspace-1.8.2-release/exports/item_export_2013_Apr_24_1_3/1 already
exists!
        at
org.dspace.app.itemexport.ItemExport.exportItem(ItemExport.java:364)
        at
org.dspace.app.itemexport.ItemExport.exportItem(ItemExport.java:344)
        at
org.dspace.app.itemexport.ItemExport.access$100(ItemExport.java:81)
        at org.dspace.app.itemexport.ItemExport$1.run(ItemExport.java:982)

Any help with this would be greatly appreciated. If I need to upgrade to 3.1, 
then I have questions about that as well. We just upgraded to 1.8.2. And we 
have our own theme. Are there any changes that would require us to make major 
revisions to our theme? Or are we ok?

Thanks,

Patrick West
Senior Software Engineer
Tetherless World Constellation
Rensselaer Polytechnic Institute
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to