Bug 1297302 - [GSS](6.2.z) jboss-cli remove hornetQ server while trying to delete a jms-queue with empty name
Summary: [GSS](6.2.z) jboss-cli remove hornetQ server while trying to delete a jms-que...
Keywords:
Status: CLOSED DUPLICATE of bug 1169342
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Chao Wang
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 06:52 UTC by sfu@redhat.com
Modified: 2019-09-12 09:43 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-01-11 09:18:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1277320 0 unspecified CLOSED (6.4.z) JBoss CLI tab completion cannot detect when command is deleted 2021-02-22 00:41:40 UTC

Internal Links: 1277320

Description sfu@redhat.com 2016-01-11 06:52:14 UTC
Description of problem:
jboss-cli.sh remove hornetQ server while trying to delete a jms-queue with empty name

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.Install and start JBoss Server instance
2.connect to JBoss CLI
3.use command: /subsystem=messaging/hornetq-server=default/jms-queue=:remove()

Actual results:
hornetQ server will be removed.

Expected results:
Expected a failure, saying the queue "" doesn't exist.

Additional info:
Can reproduce with JBoss EAP 6.2 6.3 6.4

Comment 1 Chao Wang 2016-01-11 08:14:30 UTC
This does not exist in EAP 6.4.5 as output:

[standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/jms-queue=:remove()
Node type is not complete at index 54
[standalone@localhost:9999 /] quit
Node type is not complete at index 0
[standalone@localhost:9999 /] exit
Node type is not complete at index 0
[standalone@localhost:9999 /] 


This has been fixed since EAP 6.4.1, thus you can not call =:remove() to remove a nonexistent queue. However, this case exposes a CLI regression made in EAP 6.4.1 as example above which was reported in https://bugzilla.redhat.com/show_bug.cgi?id=1277320

Comment 2 Chao Wang 2016-01-11 09:18:58 UTC

*** This bug has been marked as a duplicate of bug 1169342 ***


Note You need to log in before you can comment on or make changes to this bug.