Nestor Oviedo created DS-1268:
---------------------------------

             Summary: Wrong URL for OpenSearch description.xml document
                 Key: DS-1268
                 URL: https://jira.duraspace.org/browse/DS-1268
             Project: DSpace
          Issue Type: Bug
          Components: Discovery, XMLUI
    Affects Versions: 1.8.2, 3.0
            Reporter: Nestor Oviedo
            Priority: Major


The recently merged and closed pull request 
https://github.com/DSpace/DSpace/pull/80 (fixing the problem with OpenSearch 
and Discovery) introduced a little bug on the rendering of the URL for the 
description.xml document.
Originally, the websvc.opensearch.svccontext config property's value was 
"open-search/". The problem is that class 
org.dspace.app.xmlui.aspect.viewArtifacts.Navigation reads that property and 
creates a dri:pageMeta/dri:metadata element with it and the buildHead template 
(in page-structure.xsl) adds the "description.xml" string to it to render the 
autodiscovery link.

After the pull request #80, when you have discovery enabled you should change 
the mentioned property to "open-search/discover", resulting in the URL 
"open-search/discoverdescription.xml" URL for the description document, which 
is wrong.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to