[asterisk-bugs] [Asterisk 0017206]: Using SORT strings with comma in them are truncated up to the first comma.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 20 05:55:40 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17206 
====================================================================== 
Reported By:                freon1
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17206
Category:                   Functions/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           Addons-1.6.2.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-20 05:55 CDT
Last Modified:              2010-04-20 05:55 CDT
====================================================================== 
Summary:                    Using SORT strings with comma in them are truncated
up to the first comma.
Description: 
Working on converting from version 1.4 to 1.6.2 (or 1.6.1) I encountered a
problem in string manipulation.
There is an issue with SORT and a subsequent string manipulation function
after it. SORT works properly and produces a sorted comma delimited string.
 Although, I couldn't make it produce result with any other delimiter.  For
example, the "|" delimitation doesn't work anymore.  When a CUT or even SET
(to copy) is used these functions only see the first field of the string
(up to the first comma), all the rest of the string beyond the first comma
is lost. 

I have tested this on versions 1.6.1.18 and 1.6.2.6 with the same result. 
Various version 1.4 work without any problems. 

I suspect there could be problem with any comma delimited string
manipulation and this may not be only a SORT and CUT or SET issue.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-20 05:55 freon1         New Issue                                    
2010-04-20 05:55 freon1         Asterisk Version          => Addons-1.6.2.1  
2010-04-20 05:55 freon1         Regression                => No              
2010-04-20 05:55 freon1         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list