This issue has been created
There is 1 update.
 
 
XWiki Commons / cid:jira-generated-image-avatar-b5864964-9a14-4366-8833-0bc0ea57fe8b XCOMMONS-3197 Open

LocalExtensionStorage removeExtension doesn't remove extension folder even if empty

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-abfd22c4-8fdf-4276-aef9-9d3fb9b99377 Antoine Mottier created this issue on 07/Nov/24 16:53
 
Summary: LocalExtensionStorage removeExtension doesn't remove extension folder even if empty
Issue Type: cid:jira-generated-image-avatar-b5864964-9a14-4366-8833-0bc0ea57fe8b Bug
Affects Versions: 16.9.0
Assignee: Unassigned
Components: Extension, Repository
Created: 07/Nov/24 16:53
Environment: Debian 12.7
Priority: cid:jira-generated-image-static-minor-8fc79dde-2489-4e3b-9457-74c0c2ab9561 Minor
Reporter: Antoine Mottier
Description:

After uninstalling an extension using extension manager and using Extension Tweak (that actually trigger a call to org.xwiki.extension.repository.internal.local.LocalExtensionStorage#removeExtension) to remove it from local storage the folder that has been created to store the extension version will remains even if being empty.
The same apply for the folder that store sub-folder for each version: even if empty folder will not be removed.

 
 

1 update

 
cid:jira-generated-image-avatar-abfd22c4-8fdf-4276-aef9-9d3fb9b99377 Changes by Antoine Mottier on 07/Nov/24 17:03
 
Labels: patch