[jboss-jira] [JBoss JIRA] (WFLY-3866) Removing jndi entry which does not exist return success

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Sep 24 03:45:06 EDT 2014


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

RH Bugzilla Integration commented on WFLY-3866:
-----------------------------------------------

Miroslav Novak <mnovak at redhat.com> changed the Status of [bug 1142619|https://bugzilla.redhat.com/show_bug.cgi?id=1142619] from ON_QA to VERIFIED

> Removing jndi entry which does not exist return success
> -------------------------------------------------------
>
>                 Key: WFLY-3866
>                 URL: https://issues.jboss.org/browse/WFLY-3866
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: JMS
>    Affects Versions: 9.0.0.Alpha1
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>            Priority: Minor
>             Fix For: 9.0.0.Beta1
>
>
> Operation "remove-jndi" on queue/topic is successful when trying to remove non-existent JNDI entry:
> [standalone at localhost:9999 jms-queue=testQueue1] :read-resource
> {
>     "outcome" => "success",
>     "result" => {
>         "durable" => true,
>         "entries" => ["java:jboss/exported/jms/queue/testQueue2"],
>         "selector" => undefined
>     }
> }
> [standalone at localhost:9999 jms-queue=testQueue1] :remove-jndi(jndi-binding=java:jboss/exported/jms/queue/dummyQueue)
> {
>     "outcome" => "success",
>     "result" => undefined
> }
> We should return outcome "failed" with "failure-description" like "Can not remove JNDI name java:jboss/exported/jms/queue/dummyQueue. The resource does not contain such a JNDI name."



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list