files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

Text editor: 'File: modified since opening', can't save on some external storages

Open Jaimy85 opened this issue 9 years ago • 2 comments

When trying to save a modified text file on external storages I get a warning like 'Problem saving changes, click to continue editing'. This does not happen with a S3 external storage, only with Hubic app https://apps.owncloud.com/content/show.php?content=168188 and Openstack object storage. "File: x modified since opening" is from the log.

Jaimy85 avatar Oct 21 '15 14:10 Jaimy85

What is really strange is the following, I changed the following line for debugging: "Cannot save file as it has been modified since opening $mtime $filemtime" Cannot save file as it has been modified since opening 1445896391 1445896391 The mtimes are the same! How is this possible with this function? if($mtime !== $filemtime) {

Edit: It works with != apparently, not with !==

Jaimy85 avatar Oct 26 '15 22:10 Jaimy85

I have a similar problem. Were you able to patch the bug? see: Text Editor 2.0 saving errors - ownCloud 8.2.1 upgrade from 8.1.4 #150

capnjb avatar Nov 30 '15 13:11 capnjb