[
https://issues.apache.org/jira/browse/DELTASPIKE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124733#comment-16124733
]
ASF subversion and git services commented on DELTASPIKE-1278:
-------------------------------------------------------------
Commit c7b5471c2912b68775ae887ab99d3e6cac57a053 in deltaspike's branch
refs/heads/master from [~dennis.rippinger]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=c7b5471 ]
DELTASPIKE-1278: Added an additonal check to ensure local resources do exist to
respect optional flag.
This closes #74
> PropertyFileConfig does not respect optional on external resources
> ------------------------------------------------------------------
>
> Key: DELTASPIKE-1278
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1278
> Project: DeltaSpike
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 1.8.0
> Reporter: Dennis Rippinger
>
> Adding a property file from an external location (e.g. local file system)
> marked as optional is not respected by {{PropertyFileUtils}}. It creates a
> list of possible resource URLs, but does not check for their existence in all
> branches of its logic. This results in a list of possible nonexistent
> resources which could be optional, leading to an IllegalStateException.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)