[ 
https://jira.duraspace.org/browse/DS-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Masár updated DS-1354:
---------------------------

    Status: Open  (was: Received)

My preliminary investigation of this issue shows, that the HTML of that link 
contains href="" (which takes you back to the page you're on when visited in a 
browser).

The reason why there's no link comes from the dri2xhtml-alt template, which 
Mirage inherits from:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L566

in connection with the fact that there is no mets:FLocat element with 
xlink:title="license_text", only with xlink:title="license_rdf".

I don't know which one of them should be included or why, but that logic comes 
from this file:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/license/CreativeCommons.java#L49

PS dri2xhtml based themes will have the same problem:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml/General-Handler.xsl#L258
                
> in XMLUI, the creative commons link  does not address the creative-commons 
> license, just the item page
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DS-1354
>                 URL: https://jira.duraspace.org/browse/DS-1354
>             Project: DSpace
>          Issue Type: Bug
>         Environment: *Location*: http://demo.dspace.org/xmlui/handle/10673/148
> *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 
> Firefox/16.0
> *Referrer*: http://demo.dspace.org/xmlui/handle/10673/148
> *Screen Resolution*: 1440 x 900
>            Reporter: emilio lorenzo
>              Labels: collector-60e7afac
>
> Just go to  item  http://demo.dspace.org/xmlui/handle/10673/51   and click in 
> the  link (not the image). The link is  going to the item page, not any file 
> or  page 
> The same behaviour as the 1.8 version.  I expect some kind of fixing
> *Reporter*: Emilio Lorenzo
> *E-mail*: [mailto:[email protected]]

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

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to