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

Hardcoded String in the license bitstream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.5.1, 1.5.2
    • Fix Version/s: 1.6.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      3
    • Comments:
      11
    • Documentation Status:
      In Comments

      Description

      The Item's licenseGranted method hardcoded the string:
      "License granted by " + eperson.getFullName() + " (" + eperson.getEmail() + ") on "+ DCDate.getCurrent().toString() + " (GMT):\n\n"
      at the start of the license bitstream. This is not desiderable for some user that like to have this text translated and/or in a different position.
      Moreover, could be appropriate move this method in the LicenseStep processing class? should we allow the license text itself to contain parameter that will be replaced at runtime with current user data and date so that the license showed to the user will be exactly the same that will be stored?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bollini Andrea Bollini (4Science)
              Reporter:
              bollini Andrea Bollini (4Science)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: