[jboss-jira] [JBoss JIRA] (WFCORE-2178) [Deployment overlay] Operation list-links does not check if deployment exists

Chao Wang (JIRA) issues at jboss.org
Wed Jan 11 02:17:00 EST 2017


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

Chao Wang commented on WFCORE-2178:
-----------------------------------

It's better to log a warning or throw CommandLineException to User if there is no resource found in provided overlay name at [DeploymentOverlayHandler.java#L1075|https://github.com/wildfly/wildfly-core/blob/9f9f132797e82142fb09a3c4c2704354775e97d8/cli/src/main/java/org/jboss/as/cli/handlers/DeploymentOverlayHandler.java#L1075] instead of returning an empty list in silence.

> [Deployment overlay] Operation list-links does not check if deployment exists
> -----------------------------------------------------------------------------
>
>                 Key: WFCORE-2178
>                 URL: https://issues.jboss.org/browse/WFCORE-2178
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI, Domain Management
>    Affects Versions: 3.0.0.Alpha17
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>            Priority: Minor
>
> *Problem*
> When not existing overlay is specified no warning message is displayed. For example:
> {code}
> deployment-overlay list-links --name=not-existing-overlay
> {code}
> returns empty line
> *Proposed solution*
> Display warning message that not existing overlay was given.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list