You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/01/25 10:38:00 UTC
[jira] [Closed] (CONFIGURATION-828) Configuration file truncated then there isn't enough disk space for writing
[ https://issues.apache.org/jira/browse/CONFIGURATION-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed CONFIGURATION-828.
-----------------------------------------
Resolution: Won't Do
Closing.
> Configuration file truncated then there isn't enough disk space for writing
> ---------------------------------------------------------------------------
>
> Key: CONFIGURATION-828
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-828
> Project: Commons Configuration
> Issue Type: Bug
> Components: File reloading
> Affects Versions: 2.8.0
> Reporter: Alla Gofman
> Priority: Major
>
> Please consider:
> 1) Not to create output stream to file in case there is not enough disk space for writing it's content in case of save.
> 2) Enable to register some FileHandlerListener in this case to be notified on such issue and can react by throwing some Exception.
> The FileHandlerListener.saving(FileHandler handler) method not suitable, because called after the file being already truncated.
> * Meanwhile, the workaround is to extend DefaultFileSystem.getOutputStream(File file) method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)