Problem/Motivation

When uninstalling media_directories_ui and the generated images cannot be deleted, the un-installation leaves back a module with deleted configuration.

Steps to reproduce

chown the browser_thumbnails to root:root or similar.

Proposed resolution

Try to delete the files first, and if it fails, the other configuration will be untouched.

CommentFileSizeAuthor
#2 3174619-try_file_deletion_first-2.patch1.59 KBytsurk

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

Status: Active » Needs review
StatusFileSize
new1.59 KB
ytsurk’s picture

Title: Do not leave back a half-uninstalled module when file cannot be deleted » Do not leave back a half-uninstalled module when files cannot be deleted

  • ytsurk committed dd8898a on 2.x
    Issue #3174619 by ytsurk: Do not leave back a half-uninstalled module...
ytsurk’s picture

Status: Needs review » Fixed

Nobody seems to be interested to review :(

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.