NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||22-06-17 17:24 BST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016782||phplist application||plugins||public||01-05-13 20:52||03-05-13 02:28|
|Target Version||2.11.10||Fixed in Version||2.11.10|
|Summary||0016782: Update plugin does not overwrite directory|
|Description||When updating a plugin the php rename() function does not appear to reliably overwrite an existing directory. On both linux and windows (WAMP) the rename fails for a directory which already exists, but does replace a file that already exists.|
see file admin/plugins.php line 108
It is not a permissions problem because I can install and remove the plugin, and then install it again.
Possibly need to treat an update as a remove followed by an install to avoid this problem.
|Tags||No tags attached.|
|good you found that|
interesting in a way. Wonder if this is a PHP bug. The docs say on "rename":
Attempts to rename oldname to newname, moving it between directories if necessary. If newname exists, it will be overwritten.
but obviously that was not the case.
|Copyright © 2000 - 2017 MantisBT Team|