Project

General

Profile

Bug #777

Edit File wipes out file on save

Added by Chris Buechler almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
07/31/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

When editing files via the Edit File screen, after saving them they're completely empty. inferfaces.inc at a minimum, not sure how widespread it is.

Associated revisions

Revision 4f1bace5 (diff)
Added by Ermal Luçi over 8 years ago

Ticket #777. Allow long length of variables content to make happy suhosin(whoever he his)!

Revision c13b0b31 (diff)
Added by Ermal Luçi over 8 years ago

Ticket #777. Use Base64 encoding for file content so javascript/php does not get confused!

History

#1 Updated by Jim Pingle almost 9 years ago

  • Category set to Web Interface

Some files just sit there saying "Saving file" for a while. It is hit and miss, some work and some don't.

All of these are in /etc/inc/
Won't save:
  • interfaces.inc
  • led.inc
  • dyndns.class
  • vpn.inc
  • captiveportal.inc
Will Save:
  • array_intersect_key.inc
  • growl.class
  • itemid.inc
  • config.gui.inc
  • auth.inc
  • authgui.inc

So far interfaces.inc is the only one I can make save an empty file.

#2 Updated by Seth Mos almost 9 years ago

This has happened a few times before, it has to do with the file size and a option in lighty that has changed. I believe it has so far happend atleast 3 times over the period of 2.0.

I can not recall the exact fix, but I do know it was related to lighty.

#3 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback

It works for me now!

#4 Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF