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

Creative Commons license assignment silently fails in JSPUI

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 6.0
    • Fix Version/s: 5.6, 6.0
    • Component/s: JSPUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      28
    • Documentation Status:
      Complete or Committed

      Description

      When choosing a CC license during item submission, 3 bitstreams are created.

      license_url - holds the URL (correct)
      license_text - empty (should hold license text)
      license_rdf - empty (should hold the license rdf)

      Additionally, dc.rights and dc.rights.uri are not populated.

      Because the URL is saved, the CC logo shows up on the item record, masking the problem.

      Most likely caused because the license_url is "http://...", but the creative commons site does a 301 redirect to "https://...", which java.net.URLConnection in the CreativeCommons.java code doesn't automatically follow (due to the protocol switch).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                l_a_p Luigi Andrea Pascarelli (4Science)
                Reporter:
                dishimitsu Dan Ishimitsu
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: