View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18829Bug reportsPluginspublic2026-10-01 12:33
Reportergabrieljenik Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Summary18829: How orphan temp plugin files should be handled
Description

When a plugin is uploaded but the installation process is not finished, how orphan temp plugin files should be handled?

Should the files be cleaned?
When?

How we identify what is an orphan installation?
Maybe setting a date on the tmp subdir name?

Caucht while reviewing 18659

Steps To Reproduce

Steps to reproduce

Install a plugin (e.g. the DummyPlugin1 I enclose here).
Don't finish the installation

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.4.14 (build 221205)
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmariadb-10.3.35
Server OS (if known)Red Hat Enterprise Linux release 8.7 (Ootpa)
Webserver software & version (if known)httpd-2.4.37
PHP Versionphp-fpm-7.4.30

Relationships

related to 18659 closedgabrieljenik cannot install two plugins in a row 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-09-30 00:08

administrator   ~86099

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40623

LimeBot

LimeBot

2026-10-01 12:33

administrator   ~86169

Fixed in Release 7.5.0+261001

Related Changesets

LimeSurvey: master be6403d3

2026-09-30 00:08

c_schmitz


Details Diff
Fixed issue 18829: Orphaned temporary files remain after an unfinished plugin upload Affected Issues
18829
mod - application/helpers/common_helper.php Diff File
mod - application/libraries/ExtensionInstaller/FileFetcherUploadZip.php Diff File
add - tests/unit/helpers/CleanExtensionInstallTempDirectoriesTest.php Diff File

Issue History

Date Modified Username Field Change
2023-05-18 17:43 gabrieljenik New Issue
2023-05-18 17:43 gabrieljenik Issue generated from: 18659
2023-05-18 17:43 gabrieljenik Relationship added related to 18659
2023-05-18 17:43 gabrieljenik Status new => confirmed
2026-09-30 00:08 c_schmitz Changeset attached => LimeSurvey master be6403d3
2026-09-30 00:08 c_schmitz Note Added: 86099
2026-09-30 00:08 c_schmitz Assigned To => c_schmitz
2026-09-30 00:08 c_schmitz Status confirmed => resolved
2026-09-30 00:08 c_schmitz Resolution open => fixed
2026-09-30 00:08 c_schmitz Bug heat 0 => 2
2026-10-01 12:33 LimeBot Note Added: 86169
2026-10-01 12:33 LimeBot Status resolved => closed
2026-10-01 12:33 LimeBot Bug heat 2 => 4