You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2007/04/26 00:40:15 UTC
[jira] Updated: (CONFIGURATION-45) [configuration] Fails silently
if asked to save to an invalid filename
[ https://issues.apache.org/jira/browse/CONFIGURATION-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated CONFIGURATION-45:
----------------------------------------
Fix Version/s: 1.1
> [configuration] Fails silently if asked to save to an invalid filename
> ----------------------------------------------------------------------
>
> Key: CONFIGURATION-45
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-45
> Project: Commons Configuration
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: Operating System: All
> Platform: All
> Reporter: Iain Shepherd
> Fix For: 1.1
>
>
> Running code like this...
> FileConfiguration config = new PropertiesConfiguration();
> config.setFile(new File("/invalid/path/my.properties"));
> config.save();
> ...doesn't throw any Exception. AbstractFileConfiguration.save(File) swallows
> the FileNotFoundException, prints a stack trace, and completes normally,
> without having saved the file.
> Cheers
> Iain Shepherd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org