[ 
https://jira.duraspace.org/browse/DS-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26861#comment-26861
 ] 

Adam Doan commented on DS-1323:
-------------------------------

Making the changes suggested above has resolved this issue for me. Thanks for 
your help!
                
> 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.0, 1.8.1, 1.8.2, 3.0
>            Reporter: Tim Donohue
>            Assignee: Ivan Masár
>             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

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to