[jboss-jira] [JBoss JIRA] (WFLY-10994) DirConfigSourceService ignores non-existent path

Brian Stansberry (JIRA) issues at jboss.org
Fri Sep 7 15:21:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-10994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630662#comment-13630662 ] 

Brian Stansberry commented on WFLY-10994:
-----------------------------------------

If the service fails, I don't think SubsystemDeploymentProcessor as it is would handle it cleanly. I think it would pass a null into the builder. (I think there may be a race there now too, as there's no dependency chain I see between the services for ConfigSource and ConfigSourceProvider and the DeploymentUnitPhaseService. A dependency chain would also mean the deployment would fail if the MP Config services aren't right, which seems appropriate.)

> DirConfigSourceService ignores non-existent path
> ------------------------------------------------
>
>                 Key: WFLY-10994
>                 URL: https://issues.jboss.org/browse/WFLY-10994
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP Config
>    Affects Versions: 14.0.0.Final
>            Reporter: Brian Stansberry
>            Assignee: Jeff Mesnil
>
> DirConfigSourceService does not validate the existence of the path it calculates, and DirConfigSource itself will simply return an empty map if the path doesn't exist or isn't a dir.  The effect is a configuration mistake will result in the ConfigSource going silently unused.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list