[asterisk-bugs] [Asterisk-GUI 0013420]: GUI - File Editor not working properly

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 17 17:04:47 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13420 
====================================================================== 
Reported By:                alex70
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13420
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-04 06:52 CDT
Last Modified:              2008-11-17 17:04 CST
====================================================================== 
Summary:                    GUI - File Editor not working properly
Description: 
Using Asterisk-Gui Editor.
After saving a trunk the editor show the content of that trunk twice.
I notice also that after any changes made by the gui, the *.conf files are
update and populated with many blank lines making files very large. 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013539 Extensions file error after incoming ca...
====================================================================== 

---------------------------------------------------------------------- 
 (0094951) murf (administrator) - 2008-11-17 17:04
 http://bugs.digium.com/view.php?id=13420#c94951 
---------------------------------------------------------------------- 
OK, I attached a patch targeted to trunk (it *should* apply to 1.6.x source
also).
This should get rid of the large stretches of blank lines that are added
during the UpdateConfig manager command. 

It was caused by two overlapping errors. One was caused by 
inserts in certain places, that would cause negative numbers to be 
generated in the line spacing algorithm. The other was a 
no-longer-necessary insertion of an extra linefeed in certain
situations. Both problems are addresses in the attached patch
( 13420.13539.patch ). Let me know if this works. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-17 17:04 murf           Note Added: 0094951                          
======================================================================




More information about the asterisk-bugs mailing list