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/11/27 15:07: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=16266914#comment-16266914 ]
ASF subversion and git services commented on DELTASPIKE-1278:
-------------------------------------------------------------
Commit 717771b275f406ce7ce43cd528be44d6053b7d2b in deltaspike's branch refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=717771b ]
DELTASPIKE-1278 avoid signature change
previously we did not throw the URISyntaxException which
is a checked Exception. So this change did require to catch
that exception in user code.
Now handling this issue internally.
> 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)