You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Dennis Rippinger (JIRA)" <ji...@apache.org> on 2017/07/02 12:39:03 UTC

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

Dennis Rippinger created DELTASPIKE-1278:
--------------------------------------------

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