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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 18 12:07:52 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-18 12:07 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0094988) svnbot (reporter) - 2008-11-18 12:07
 http://bugs.digium.com/view.php?id=13420#c94988 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 157302

U   trunk/main/config.c

------------------------------------------------------------------------
r157302 | murf | 2008-11-18 12:07:51 -0600 (Tue, 18 Nov 2008) | 18 lines

(closes issue http://bugs.digium.com/view.php?id=13420)
Reported by: alex70
Patches:
      13420.13539.patch uploaded by murf (license 17)
Tested by: murf, awk

This fixes two problems: a spurious linefeed insertion
probably left over from pre-precomment times. Only
generated when category had no previous comments.

The other problem: Insertions could get the line-numbering
out of whack and generate negative line numbers, causing 
chunks of line numbers to be emitted, on the scale of the
number of lines up to that point in the file. In such cases,
abort the looping, and all is well.



------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=157302 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-18 12:07 svnbot         Checkin                                      
2008-11-18 12:07 svnbot         Note Added: 0094988                          
======================================================================




More information about the asterisk-bugs mailing list