[
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