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

Creative commons license bundle on embargoed item will cause internal system errors on item pages

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: DSpace API, JSPUI
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      When an item has a creative commons license and the item is under embargo the DefaultEmbargoSetter will also remove the anonymous read rights from the creative commons bundle.
      On the display item jsp it will attempt to retrieve the creative commons url (see lines below) and these will cause an authorize exception which in turn will lead to an internal system error (unless the admin is logged in).

      String cc_url = CreativeCommons.getLicenseURL(item);
      String cc_rdf = CreativeCommons.getLicenseRDF(item);

      I have attached a patch to fix this issue (if required I am also willing to upload a script that can fix the permissions on these license bundles).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robintaylor Robin Taylor
                Reporter:
                kevin van de velde Kevin Van de Velde (Atmire)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: