Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10285

ResourceElementTypeHelper: InputStream not closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.3 RC3

      Description

      On comparing ResourceElementType, the input streams are not closed after comparison.

      See ResourceElementTypeHelper._compareSingleResourcesContent(Resource, Resource), IOUtils.contentEquals(resource1.getInputStream(), resource2.getInputStream()) is used but the two input streams are never closed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmaurel Bérénice Maurel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: