[jboss-jira] [JBoss JIRA] (WFCORE-2885) list-remove operation succeeds when removing non-existent item

Michal Petrov (JIRA) issues at jboss.org
Tue May 30 11:15:00 EDT 2017


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

Michal Petrov commented on WFCORE-2885:
---------------------------------------

As I said there are some remove-* operations that do fail (e.g. "remove-namespace") and some that don't. With WFCORE-2880 filed I wasn't sure what is the intended behavior of these.

> list-remove operation succeeds when removing non-existent item
> --------------------------------------------------------------
>
>                 Key: WFCORE-2885
>                 URL: https://issues.jboss.org/browse/WFCORE-2885
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Michal Petrov
>            Assignee: Michal Petrov
>
> When removing an item from a list the operation should fail if the item doesn't exist. E.g.
> {code}
> /subsystem=logging/root-logger=ROOT:list-remove(name=handlers,value="ABC")
> {code}
> the operation already fails when using an invalid index.



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


More information about the jboss-jira mailing list