[asterisk-bugs] [Asterisk 0016138]: [patch] realtime function does not return pair when database value is null

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 28 17:37:01 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16138 
====================================================================== 
Reported By:                sohosys
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16138
Category:                   Functions/func_realtime
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           Older 1.6.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-27 10:43 CDT
Last Modified:              2009-10-28 17:37 CDT
====================================================================== 
Summary:                    [patch] realtime function does not return pair when
database value is null
Description: 
this is the same issue reported in
https://issues.asterisk.org/view.php?id=15615#c108403

the previous issue was closed, stating that it was corrected in 1.6.x. We
are still experiencing this issue in 1.6.0.13.

the function is rather useless if a the return does not contain the same
number of pairs on every query of the same table. 

this is a bigger issue in 1.6 than 1.4 since app_realtime is no longer in
1.6
====================================================================== 

---------------------------------------------------------------------- 
 (0112880) sohosys (reporter) - 2009-10-28 17:37
 https://issues.asterisk.org/view.php?id=16138#c112880 
---------------------------------------------------------------------- 
still no go. only pairs where the column has a value are returned. What we
are expecting is that a column with a null value is in the string as such,
like "callerid=,username=3035551212,secret=123456,callgroup=" where
callerid and callgroup are in the table with null values. even with this
patch the values are ommited if null, and there are a a varying number of
pairs in the return, which changes the position of the needed data from
query to query. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-28 17:37 sohosys        Note Added: 0112880                          
======================================================================




More information about the asterisk-bugs mailing list