Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1444

The getOutputStream of the MemoryFileSystem class can replace a folder with a newly created file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • core 1.4.3
    • jackrabbit-core
    • None

    Description

      It seems that if the filePath parameter passed to the getOutputStream method of the MemoryFileSystem class points to an existing folder and not to a file - the folder will be replaced with a newly created file.
      The function should probably check whether the passed path points to a file and throw an exception if it points to a folder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dvl Denis Linine
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: