jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1444) The getOutputStream of the MemoryFileSystem class can replace a folder with a newly created file
Date Tue, 22 Apr 2008 14:30:23 GMT

     [ https://issues.apache.org/jira/browse/JCR-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1444:
-------------------------------

    Fix Version/s: core 1.4.3

Merged to the 1.4 branch in revision 650532.

> The getOutputStream of the MemoryFileSystem class can replace a folder with a newly created
file
> ------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1444
>                 URL: https://issues.apache.org/jira/browse/JCR-1444
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Denis Linine
>            Priority: Trivial
>             Fix For: core 1.4.3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message