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:
Tim Donohue
2010-10-28 14:43:40 +00:00
parent 18c72133c3
commit 6647d3cc3a

View File

@@ -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)
{