View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19239Bug reportsPluginspublic2024-03-11 15:17
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version6.3.x 
Summary19239: Plugin with PHP error can not be resetted
Description

When create plugin, doing a PHP error code : plugin was deactivate
But there are no way to reset error

Steps To Reproduce

Steps to reproduce

Activate AuthLDAP plugin (or upload and activate any plugin)
Add a syntax error : for example remove ; at https://github.com/LimeSurvey/LimeSurvey/blob/5d97f49a06b610b32db927d434de76e88e1746a1/application/core/plugins/AuthLDAP/AuthLDAP.php#L19
Rdeload page : plugin was deactivated
add the ; (fix the syntax error)

Expected result

Have a button to reset error (or better : just don't deactivate plugin)

Actual result

No button

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)6.3.5
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-11-14 15:43

developer   ~78457

PS: checked with a plugin in upload
PS2 : https://forums.limesurvey.org/forum/installation-a-update-issues/142990-error-when-copying-the-survey#252146 AuthDB is disable here.

DenisChenu

DenisChenu

2024-03-04 08:13

developer   ~79703

https://github.com/LimeSurvey/LimeSurvey/pull/3772

tibor.pacalat

tibor.pacalat

2024-03-04 16:52

administrator   ~79714

@DenisChenu this is not really helpful error message

tibor.pacalat

tibor.pacalat

2024-03-04 16:52

administrator   ~79715

Can we change this to state the name of the plugin?

DenisChenu

DenisChenu

2024-03-04 17:20

developer   ~79716

this is not really helpful error message

This is not related to this issue (see 5.X ;) )

Can we change this to state the name of the plugin?

Great idea !

tibor.pacalat

tibor.pacalat

2024-03-04 17:38

administrator   ~79717

I just saw that it is the same in 5.x, maybe we can change this there as well.

DenisChenu

DenisChenu

2024-03-04 18:02

developer   ~79718

Don't know : to really an issue, i add the type, can be interesting for dev.

DenisChenu

DenisChenu

2024-03-05 14:03

developer   ~79723

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

LimeBot

LimeBot

2024-03-11 15:17

administrator   ~79770

Fixed in Release 6.4.12+240311

Related Changesets

LimeSurvey: master 0d7300c8

2024-03-05 15:03

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 19239: Plugin with PHP error can not be resetted (03772) Affected Issues
19239
mod - application/controllers/admin/PluginManagerController.php Diff File
mod - application/models/Plugin.php Diff File

Issue History

Date Modified Username Field Change
2023-11-14 15:42 DenisChenu New Issue
2023-11-14 15:42 DenisChenu File Added: Capture d’écran du 2023-11-14 15-40-21.png
2023-11-14 15:43 DenisChenu Note Added: 78457
2023-11-14 15:43 DenisChenu Bug heat 0 => 2
2024-02-29 17:13 DenisChenu Assigned To => DenisChenu
2024-02-29 17:13 DenisChenu Status new => assigned
2024-02-29 17:52 DenisChenu Assigned To DenisChenu => gabrieljenik
2024-02-29 17:52 DenisChenu Status assigned => ready for code review
2024-03-01 19:55 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2024-03-01 19:55 gabrieljenik Status ready for code review => ready for testing
2024-03-04 08:13 DenisChenu Note Added: 79703
2024-03-04 16:52 tibor.pacalat Note Added: 79714
2024-03-04 16:52 tibor.pacalat File Added: Screenshot 2024-03-04 at 16.51.34.png
2024-03-04 16:52 tibor.pacalat Bug heat 2 => 4
2024-03-04 16:52 tibor.pacalat Note Added: 79715
2024-03-04 17:20 DenisChenu Note Added: 79716
2024-03-04 17:22 DenisChenu Assigned To tibor.pacalat => DenisChenu
2024-03-04 17:22 DenisChenu Status ready for testing => in testing
2024-03-04 17:38 tibor.pacalat Note Added: 79717
2024-03-04 18:02 DenisChenu Note Added: 79718
2024-03-04 18:02 DenisChenu File Added: Capture d’écran du 2024-03-04 18-01-01.png
2024-03-04 18:03 DenisChenu Assigned To DenisChenu => tibor.pacalat
2024-03-05 14:03 DenisChenu Changeset attached => LimeSurvey master 0d7300c8
2024-03-05 14:03 DenisChenu Note Added: 79723
2024-03-05 14:03 DenisChenu Assigned To tibor.pacalat => DenisChenu
2024-03-05 14:03 DenisChenu Resolution open => fixed
2024-03-05 14:03 tibor.pacalat Status in testing => resolved
2024-03-11 15:17 LimeBot Note Added: 79770
2024-03-11 15:17 LimeBot Status resolved => closed
2024-03-11 15:17 LimeBot Bug heat 4 => 6