[asterisk-bugs] [Asterisk 0013262]: updateconfig adding lots of unnecessary new lines randomly inbetween lines and contexts

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 12 16:20:44 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13262 
====================================================================== 
Reported By:                pari
Assigned To:                awk
====================================================================== 
Project:                    Asterisk
Issue ID:                   13262
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 136818 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-08 12:56 CDT
Last Modified:              2008-11-12 16:20 CST
====================================================================== 
Summary:                    updateconfig adding lots of unnecessary new lines
randomly inbetween lines and contexts
Description: 
updateconfig adding lots of unnecessary new lines randomly inbetween lines
and contexts. So the more edits you make in the gui, the more weired the
file gets.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013882 Changing vm secret produces a deformed ...
====================================================================== 

---------------------------------------------------------------------- 
 (0094831) awk (manager) - 2008-11-12 16:20
 http://bugs.digium.com/view.php?id=13262#c94831 
---------------------------------------------------------------------- 
after looking at the code, it appears that there was an unnecessary
function most likely left over from the rewrite to add newlines.
newline.patch (against -r156388) just removes that function and its subs.

It now appears that Asterisk only (properly) preserves blank lines if
comments for a category exist. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-12 16:20 awk            Note Added: 0094831                          
======================================================================




More information about the asterisk-bugs mailing list