You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2012/07/30 22:03:35 UTC

[jira] [Resolved] (CONFIGURATION-501) XMLPropertyListConfiguration swallows exceptions about invalid date properties

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

Oliver Heger resolved CONFIGURATION-501.
----------------------------------------

    Resolution: Fixed

Fixed in revision 1367253.
                
> XMLPropertyListConfiguration swallows exceptions about invalid date properties
> ------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-501
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-501
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Oliver Heger
>            Assignee: Oliver Heger
>            Priority: Minor
>             Fix For: 1.9
>
>
> {{XMLPropertyListConfiguration.PListNode}} in its {{setDateValue()}} method just ignores parsing exceptions caused by invalid date property values. The values are not added to the newly created configuration object.
> It makes sense that parsing is robust and error-tolerant. However, rather than simply swallowing exceptions, there should at least be a log output, so that users have a chance to determine that something went wrong during loading of a configuration.
> Maybe we can later add a strict mode which fails on loading configuration files with invalid properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira