Details
-
Bug
-
Resolution: Fixed
-
Minor
-
10.11.9
-
None
-
Unknown
-
N/A
-
N/A
-
Description
XWiki seems to throw an exception when trying to delete an attachment (or a deleted attachment), even if the file side of the attachment has already been deleted.
For example, when trying to delete a file that is no longer on the filesystem but still appears as attached to a page, the delete will fail and a mention will appear with "Impossible to delete the attached file"
Also, when checking for the same file in the deleted attachments index and trying to delete it from there as well, an error message will appear on the bottom of the page: "Impossible to delete: Server not responding"
It first tries to get the attachment (or deleted attachment) and then delete it, however, the first part of the operation fails, so the entire operation fails and no cleanup is done on the database side for the leftover metadata.