[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
Mon May 3 09:42:33 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-20 05:55 CDT
Last Modified:              2010-05-03 09:42 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0121290) pabelanger (manager) - 2010-05-03 09:42
 https://issues.asterisk.org/view.php?id=17206#c121290 
---------------------------------------------------------------------- 
Suspended due to lack of activity. Please request a bug marshal in
#asterisk-bugs on the IRC network irc.freenode.net to reopen the issue
should you have the additional information requested.

Further information can be found at
http://www.asterisk.org/developers/bug-guidelines 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-03 09:42 pabelanger     Note Added: 0121290                          
2010-05-03 09:42 pabelanger     Status                   feedback => closed  
2010-05-03 09:42 pabelanger     Resolution               open => suspended   
======================================================================




More information about the asterisk-bugs mailing list