-
Notifications
You must be signed in to change notification settings - Fork 8
Description
In the state column ModX says "The webserver does not have the necessary permissions to update the directory." after file upload.
The reason apparently is that FileSluggy renames the uploaded file, but ModX for some reason still calls the renameObject method in core/model/modx/sources/modfilemediasource.class.php with the original filename, and the if (!$oldFile->isReadable() || !$oldFile->isWritable()) { check fails obviously, as the file has been renamed already and the $oldFile points still to the original filename.
ModX version: 2.8.3
FileSluggy version: 1.3.4
Actually the file is uploaded fine, but still it looks bad to have the big red error message every time someone uploads a file.
Is this something considered "normal" for the plugin or is it something specific to my deployment?