JSPUI-style Community and Collection logo URLs do not work in XMLUI
-------------------------------------------------------------------
Key: DS-727
URL: https://jira.duraspace.org/browse/DS-727
Project: DSpace
Issue Type: Bug
Components: XMLUI
Affects Versions: 1.6.2, 1.6.1, 1.6.0
Reporter: Tim Donohue
Assignee: Tim Donohue
Fix For: 1.7.0
In the JSPUI, Community & Collection logos are retrieved via the following URL
path:
http://my.dspace.edu/retrieve/<bitstream-id>
In the XMLUI, this path throws a 404 Not Found Error. The XMLUI instead uses a
different URL path:
http://my.dspace.edu/bitstream/id/<bitstream-id>
In order to ensure URL compatibility between JSPUI & XMLUI, we should add a
redirect to the XMLUI, such that older JSPUI paths will redirect users to the
new locations (rather than returning a 404 page). All other JSPUI paths
successfully redirect you to their XMLUI equivalent -- this "/retrieve/" path
must have just been overlooked.
The fix is to add the following permanent redirect to the main XMLUI
sitemap.xmap:
<map:match pattern="retrieve/**">
<map:redirect-to uri="{request:contextPath}/bitstream/id/{1}/"
permanent="yes"/>
</map:match>
I'll commit this fix to Trunk shortly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel