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 GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/21 02:08:21 UTC

[jira] [Commented] (DELTASPIKE-750) No error message if the filename provided PropertyFileConfig implementation isn't found.

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

ASF GitHub Bot commented on DELTASPIKE-750:
-------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/deltaspike/pull/11


> No error message if the filename provided PropertyFileConfig implementation isn't found.
> ----------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-750
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-750
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.0.3
>            Reporter: Corey Puffalt
>            Assignee: Gerhard Petracek
>             Fix For: 1.2.0
>
>
> As per summary, I have a simple PropertyFileConfig implementation class providing a configuration filename for the configuration module to pick up, but I've been frustrated by the lack of error handling because it just quietly ignores invalid/missing filenames instead of providing an error message.
> Ideally, an issue like this would prevent bootstrapping and fail-fast with a relevant error message.
> I'm not familiar enough with the code base to be sure but it looks to me like  this should be fixed in PropertyFileUtils.resolvePropertyFiles() which should throw a FileNotFoundException if it doesn't find the given file on the classpath?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)