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

Media Filter generates duplicate bitstreams if name has leading space

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0, 6.1, 6.2, 7.0
    • Fix Version/s: 6.3, 7.0
    • Component/s: filter-media
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      While the UI usually protects against this case, it is possible to have a bitstream name with a leading space. When `MediaFilterService` attempts to check if a bitstream has already been generated for the filter, the name comparison fails due to the leading space and a duplicate bitstream is generated.

      This is solved by simply trimming the name during the comparison.

        Attachments

          Activity

            People

            Assignee:
            kshepherd Kim Shepherd
            Reporter:
            kingkrimmson April Herron (Atmire)
            Reviewer:
            Tim Donohue Tim Donohue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: