Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1323

CC Licenses on items link to nothing when displayed in XMLUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.8.0, 1.8.1, 1.8.2, 3.0
    • Fix Version/s: None
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      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:

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              helix84 Ivan Masár
              Reporter:
              tdonohue Tim Donohue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: