[jboss-jira] [JBoss JIRA] (WFCORE-2886) remove-handler operation succeeds when removing non-existent handler

James Perkins (JIRA) issues at jboss.org
Tue May 30 11:34:00 EDT 2017


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

James Perkins commented on WFCORE-2886:
---------------------------------------

Scratch that, I read it wrong. Sorry not the resource the handler itself does not exist. I guess not failing, the current behavior, makes the most sense really. Having it fail could potentially break scripts. I don't *think* a user could care if the handler didn't exist they're trying to remove. The end goal is to not have the handler in the list and that is accomplished if the handler doesn't exist.

> remove-handler operation succeeds when removing non-existent handler
> --------------------------------------------------------------------
>
>                 Key: WFCORE-2886
>                 URL: https://issues.jboss.org/browse/WFCORE-2886
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Michal Petrov
>            Assignee: Michal Petrov
>
> When trying to remove a handler that doesn't exist the operation should fail. E.g.
> {code}
> /subsystem=logging/root-logger=ROOT:remove-handler(name="ABC")
> {code}



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


More information about the jboss-jira mailing list