files_texteditor
files_texteditor copied to clipboard
Text editor: 'File: modified since opening', can't save on some external storages
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.
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 !==
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