mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Patch for SF bug #2016130 checksum checker can not retrieve very large bitstream
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
package org.dspace.sword;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.MissingResourceException;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@@ -46,6 +47,7 @@ import org.dspace.content.Collection;
|
||||
import org.dspace.core.ConfigurationManager;
|
||||
import org.dspace.core.Constants;
|
||||
import org.dspace.core.Context;
|
||||
import org.dspace.core.I18nUtil;
|
||||
import org.dspace.eperson.EPerson;
|
||||
import org.dspace.eperson.Group;
|
||||
|
||||
@@ -252,6 +254,17 @@ public class SWORDService
|
||||
{
|
||||
scol.setTitle(title);
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
scol.setTitle(I18nUtil.getMessage("org.dspace.content.Collection.untitled"));
|
||||
}
|
||||
catch (MissingResourceException e)
|
||||
{
|
||||
scol.setTitle("Untitled");
|
||||
}
|
||||
}
|
||||
|
||||
// add the collection policy if it exists
|
||||
if (collectionPolicy != null && !"".equals(collectionPolicy))
|
||||
|
@@ -19,6 +19,7 @@
|
||||
- Fix for SF Bug #2343849 DSQuery invalid check for empty query string
|
||||
- Fix for SF Bug #1725817 Error in authorization to submit when you add collection.
|
||||
Avoids that groups can be added to themselves.
|
||||
- Fix for SF Bug #1968082 SWORD Service Document fails if Collection is untitled
|
||||
|
||||
(Elliot Metsger)
|
||||
- Patch for SF bug #2016130 checksum checker can not retrieve very large bitstream
|
||||
|
Reference in New Issue
Block a user