You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2017/08/12 22:33:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
John D. Ament resolved DELTASPIKE-1278.
---------------------------------------
Resolution: Fixed
Assignee: John D. Ament
Fix Version/s: 1.8.1
Thanks for the contribution, merged!
> 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
> Assignee: John D. Ament
> Fix For: 1.8.1
>
>
> 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)