[asterisk-bugs] [Asterisk 0017494]: [patch] "dahdi show channels group" auto-completion bug

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 15 10:20:47 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17494 
====================================================================== 
Reported By:                ffossard
Assigned To:                jrose
====================================================================== 
Project:                    Asterisk
Issue ID:                   17494
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-1677 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-09 17:02 CDT
Last Modified:              2011-04-15 10:20 CDT
====================================================================== 
Summary:                    [patch] "dahdi show channels group" auto-completion
bug
Description: 
After typing "dahdi show channels group", the <tab> key adds a "group" of
more:

localhost*CLI> dahdi show channels group group group group group group
group
Usage: dahdi show channels [ trunkgroup <trunkgroup> | group <group> |
context <context> ]
Shows a list of available channels with optional filtering
<group> must be a number between 0 and 63

=> <group> can't be a word, only a number, so auto-completion should not
add the word "group"
====================================================================== 

---------------------------------------------------------------------- 
 (0133824) svnbot (reporter) - 2011-04-15 10:20
 https://issues.asterisk.org/view.php?id=17494#c133824 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 313867

_U  trunk/
U   trunk/main/cli.c

------------------------------------------------------------------------
r313867 | jrose | 2011-04-15 10:20:46 -0500 (Fri, 15 Apr 2011) | 24 lines

Merged revisions 313860 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r313860 | jrose | 2011-04-15 10:08:05 -0500 (Fri, 15 Apr 2011) | 17
lines
  
  Merged revisions 313859 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    r313859 | jrose | 2011-04-15 09:58:37 -0500 (Fri, 15 Apr 2011) | 10
lines
    
    Fix a Tab Completion bug that occurs due to multiple matches on a
substring.
    
    Makes word_match function in cli.c repeat a search for a command
string until
    a proper match is found or the string is searched to the last point.
    
    (closes issue https://issues.asterisk.org/view.php?id=17494)
    Reported by: ffossard
    
    Review: https://reviewboard.asterisk.org/r/1180/
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=313867 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-15 10:20 svnbot         Checkin                                      
2011-04-15 10:20 svnbot         Note Added: 0133824                          
======================================================================




More information about the asterisk-bugs mailing list