[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 10:12:28 CDT 2010


The following issue requires your FEEDBACK. 
====================================================================== 
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:                     feedback
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 10:12 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0120635) tilghman (administrator) - 2010-04-20 10:12
 https://issues.asterisk.org/view.php?id=17206#c120635 
---------------------------------------------------------------------- 
Please add the following to asterisk.conf and restart:

[compat]
app_set=1.6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-20 10:12 tilghman       Note Added: 0120635                          
2010-04-20 10:12 tilghman       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list