View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
20080Bug reportsPluginspublic2025-05-13 18:33
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status ready for code reviewResolutionfixed 
Product Version6.6.x 
Summary20080: Disable plugins without alert administrator
Description

When a plugin is disable due to loadError : no alert send or can be send.

Steps To Reproduce

Steps to reproduce

Activate AUthLDAP, update AUthLDAP line 11, remove the ;
On another sceen go to connection : no LDAP allowed

Expected result

Amin user receive an alert email : disable a plugin is really important

Actual result

Amin user didn't receive an alert email : can not fix the issue on time

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)6.13
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

2025-04-29 16:56

developer   ~82534

I have a plugin broken with 8.3 version , i really want to have an alert soon !

Just adding a Yii::log("Plugin X was deactivated" ,'error','applicatoon.model.plugin.setLoadError'); can fix the issue.

DenisChenu

DenisChenu

2025-04-29 19:27

developer   ~82535

(Freely)

DenisChenu

DenisChenu

2025-04-30 09:31

developer   ~82536

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

gabrieljenik

gabrieljenik

2025-05-01 18:42

manager   ~82551

Last edited: 2025-05-01 18:44

You are logging but not sending an email unless you have CEmailLogRoute configured, right?
In case the user logged is an admin, maybe we could issue a toast also (no error details there)?

DenisChenu

DenisChenu

2025-05-01 20:30

developer   ~82552

You are logging but not sending an email unless you have CEmailLogRoute configured, right?

Yes, only allow potential solution email or another

In case the user logged is an admin, maybe we could issue a toast also (no error details there)?

Yep, but it's another issue to report here.

DenisChenu

DenisChenu

2025-05-02 08:24

developer   ~82556

https://www.limesurvey.org/manual/index.php?title=Plugins_-_advanced&diff=379973&oldid=378853

DenisChenu

DenisChenu

2025-05-09 13:28

developer   ~82627

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

LimeBot

LimeBot

2025-05-12 18:01

administrator   ~82651

Fixed in Release 6.13.3+250512

tibor.pacalat

tibor.pacalat

2025-05-13 10:10

administrator   ~82656

@DenisChenu reopening this one after additional information was brought up to me by Carsten.

You introduced a configuration option in internal.php which uses its own email address for these messages, instead of using whatever email settings are configured in the application.

It should be activated by default, and it should use the configured email settings/email addresses.

DenisChenu

DenisChenu

2025-05-13 10:16

developer   ~82657

It should be activated by default, and it should use the configured email settings/email addresses.

But it's NOT possible !!!

DenisChenu

DenisChenu

2025-05-13 10:18

developer   ~82658

It should be activated by default, and it should use the configured email settings/email addresses.

It's a totally different issue !

tibor.pacalat

tibor.pacalat

2025-05-13 10:24

administrator   ~82659

Why is it not possible?

DenisChenu

DenisChenu

2025-05-13 10:49

developer   ~82660

Because it must be done on application/config/config.php file …

I can try to update it after login, but unsure … it's not the same issue ...

I take a look ...

DenisChenu

DenisChenu

2025-05-13 12:47

developer   ~82661

I just find no way to get and update existing log action…
If somone find it : OK

Solution: create a totally new logger ? Need a lot of time

DenisChenu

DenisChenu

2025-05-13 12:59

developer   ~82662

Not great : i create the log if don't exist :(

DenisChenu

DenisChenu

2025-05-13 18:33

developer   ~82668

I move to a complete mailer system

Related Changesets

LimeSurvey: master 65b67668

2025-05-09 13:28

DenisChenu

Committer: GitHub


Details Diff
Fixed issue 20080: Disable plugins without way to alert administrator (#4253) Affected Issues
20080
mod - application/config/internal.php Diff File
mod - application/models/Plugin.php Diff File

Issue History

Date Modified Username Field Change
2025-04-29 16:53 DenisChenu New Issue
2025-04-29 16:56 DenisChenu Note Added: 82534
2025-04-29 16:56 DenisChenu Bug heat 0 => 2
2025-04-29 19:27 DenisChenu Assigned To => DenisChenu
2025-04-29 19:27 DenisChenu Status new => assigned
2025-04-29 19:27 DenisChenu Note Added: 82535
2025-04-30 09:31 DenisChenu Assigned To DenisChenu => gabrieljenik
2025-04-30 09:31 DenisChenu Status assigned => ready for code review
2025-04-30 09:31 DenisChenu Note Added: 82536
2025-05-01 18:42 gabrieljenik Note Added: 82551
2025-05-01 18:42 gabrieljenik Bug heat 2 => 4
2025-05-01 18:44 gabrieljenik Note Edited: 82551
2025-05-01 20:30 DenisChenu Note Added: 82552
2025-05-01 21:28 gabrieljenik Assigned To gabrieljenik => tibor.pacalat
2025-05-01 21:28 gabrieljenik Status ready for code review => ready for testing
2025-05-02 08:24 DenisChenu Note Added: 82556
2025-05-09 13:28 DenisChenu Changeset attached => LimeSurvey master 65b67668
2025-05-09 13:28 DenisChenu Note Added: 82627
2025-05-09 13:28 DenisChenu Assigned To tibor.pacalat => DenisChenu
2025-05-09 13:28 DenisChenu Status ready for testing => resolved
2025-05-09 13:28 DenisChenu Resolution open => fixed
2025-05-12 18:01 LimeBot Note Added: 82651
2025-05-12 18:01 LimeBot Status resolved => closed
2025-05-12 18:01 LimeBot Bug heat 4 => 6
2025-05-13 10:07 tibor.pacalat Status closed => assigned
2025-05-13 10:10 tibor.pacalat Note Added: 82656
2025-05-13 10:10 tibor.pacalat Bug heat 6 => 8
2025-05-13 10:16 DenisChenu Note Added: 82657
2025-05-13 10:18 DenisChenu Note Added: 82658
2025-05-13 10:18 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-05-13 10:18 DenisChenu Status assigned => feedback
2025-05-13 10:24 tibor.pacalat Note Added: 82659
2025-05-13 10:49 DenisChenu Note Added: 82660
2025-05-13 10:49 DenisChenu Status feedback => assigned
2025-05-13 12:47 DenisChenu Note Added: 82661
2025-05-13 12:59 DenisChenu Assigned To tibor.pacalat => DenisChenu
2025-05-13 12:59 DenisChenu Note Added: 82662
2025-05-13 18:33 DenisChenu Assigned To DenisChenu => c_schmitz
2025-05-13 18:33 DenisChenu Status assigned => ready for code review
2025-05-13 18:33 DenisChenu Note Added: 82668