You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/12 22:28:00 UTC

[jira] [Commented] (DELTASPIKE-1278) PropertyFileConfig does not respect optional on external resources

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124732#comment-16124732 ] 

ASF subversion and git services commented on DELTASPIKE-1278:
-------------------------------------------------------------

Commit 6befd1231ca07059d8d02158c91c6ddf9ffa481d in deltaspike's branch refs/heads/master from [~dennis.rippinger]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=6befd12 ]

DELTASPIKE-1278: Added an additonal check to ensure local resources do exist to respect optional flag.


> 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)