Tim Donohue created DS-1323:
-------------------------------

             Summary: CC Licenses on items link to nothing when displayed in 
XMLUI
                 Key: DS-1323
                 URL: https://jira.duraspace.org/browse/DS-1323
             Project: DSpace
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.8.2, 1.8.1, 1.8.0, 3.0
            Reporter: Tim Donohue
             Fix For: 3.0


When browsing DSpace XMLUI and encountering an Item that has a Creative Commons 
License, you'll be shown a  "Creative Commons" link on the Item page which has 
an empty "href" attribute.  (This issue was reported in #dspace IRC by 'doana' 
and is verified on the demo site.)

Here's an example on the Demo site:
http://demo.dspace.org/xmlui/handle/10673/53
(Notice the "Creative Commons" link on that page links to nowhere).

This bug seems to have been caused during the CC Rewrite that was release in 
1.8.0.  Essentially, it looks like CC Licenses are now stored as "license_rdf" 
files, when they used to be stored as "license_txt" files.

However, the XMLUI themes are not taking this change into account.  Instead the 
Themes are still looking for "license_txt" files.  See these two lines:

* dri2xhtml: 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml/General-Handler.xsl#L259

* dri2xhtml-alt: 
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L567

I believe if the above two lines are changed to look for "license_rdf" this 
will fix the issues.



--
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

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to