mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
AIP work (DS-466) bug fix. Ensure 'manifest-only' exports are valid METS files by building a non-null URL for Community/Collection logo bitstreams to be referenced. As Manifest-only exports don't include content files, we need to reference them by semi-stable URLs -- in this case, we'll reference logos via the '/retrieve/[id]' path, as that will work for both JSPUI and XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -460,6 +460,13 @@ public class DSpaceAIPDisseminator extends AbstractMETSDisseminator
|
||||
+ "/"
|
||||
+ URLEncoder.encode(bitstream.getName(), "UTF-8");
|
||||
}
|
||||
else
|
||||
{
|
||||
return ConfigurationManager
|
||||
.getProperty("dspace.url")
|
||||
+ "/retrieve/"
|
||||
+ String.valueOf(bitstream.getID());
|
||||
}
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user