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

CC License being assigned incorrect Mime Type during submission.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      5
    • Comments:
      19
    • Documentation Status:
      Complete or Committed

      Description

      The Creative Commons License is sharing the Default License Format with a mime type of text/plain, but the CC License bitstream should have a mime type of text/html. Browsers that render the CC License depending on the mime type will display the raw HTML/CSS making the CC License unreadable for the average user. To correct this issue a new format needs to be created for the Creative Commons License and the submission process needs to assign the new format. The attached CreativeCommons.patch replaces the assigned "License" format with a "CC License" form.

      Location to apply patch: dspace-api/src/main/java/org/dspace/license/CreativeCommons.java

      The attached bitstream-formats.xml adds the new CC License format with mime type text/html. This will insure the format is created when dspace is installed.

      Location to apply patch: dspace/config/registries/bitstream-formats.xml

      Credit also goes to Ladd Hanson

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jtrimble Jeffrey Trimble
                Reporter:
                steve Steven Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: