Bug 1277320 - (6.4.z) JBoss CLI tab completion cannot detect when command is deleted
Summary: (6.4.z) JBoss CLI tab completion cannot detect when command is deleted
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.4.4
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: 2015-11-03 02:40 UTC by Bryan Parry
Modified: 2019-08-19 12:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:44:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1297302 0 unspecified CLOSED [GSS](6.2.z) jboss-cli remove hornetQ server while trying to delete a jms-queue with empty name 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker WFCORE-670 0 Blocker Resolved Node type is not complete at index 0 after tab completion on an empty resource 2019-03-04 07:28:15 UTC

Internal Links: 1297302

Description Bryan Parry 2015-11-03 02:40:06 UTC
Description of problem:
In the JBoss CLI when using tab completion, if the CLI presents the user with a choice of the next element, the CLI can "get stuck" if the user deletes [backspace] the command typed so far. If the user tries to exit, the CLI prints an error message.

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

How reproducible:
yes

Steps to Reproduce:
1. Start JBoss in standalone
2. Start the CLI and connect
3. Type "/subsystem=security/security-domain="
4. Press [TAB]
5. Use the Backspace key to remove the text on the line
6. Type "exit" and press Enter
7. Error message is displayed


Actual results:

[standalone@localhost:9999 /] /subsystem=security/security-domain=  [TAB]
jboss-ejb-policy  jboss-web-policy  other             
[standalone@localhost:9999 /] /subsystem=security/security-domain=  [TAB]
jboss-ejb-policy  jboss-web-policy  other             
[standalone@localhost:9999 /]      [BACKSPACE TO CLEAR ALL TEXT] [ENTER]
[standalone@localhost:9999 /] exit
Node type is not complete at index 0
[standalone@localhost:9999 /] 


Expected results:
exit command is successful when typed as described above.

Comment 3 Mike McCune 2016-03-28 22:24:40 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions


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