View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18062Bug reportsPluginspublic2023-06-12 16:58
Reportergabrieljenik Assigned To 
PrioritynoneSeveritypartial_block 
Status confirmedResolutionopen 
Product Version5.3.x 
Summary18062: Plugin get deactivated after error
Description

I think the best is to have a config setting for devs so the deactivation is not permanent.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.x
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Version7

Relationships

related to 16009 assignedDenisChenu Feature requests Add column ignore_load_error to make plugins load even if there was an error 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-04-28 17:23

developer   ~69288

Last edited: 2022-04-28 17:24

debug=2 : no deactivation … error shown etc …

I try to work on it … but never ending …

Always have issue …

(and currently : create plugins for 5.0 is AWFULL !)

gabrieljenik

gabrieljenik

2022-04-28 21:17

manager   ~69293

Thanks!

I try to work on it … but never ending …
Sorry, you are trying to work on what exactly?
Detting `debug = 2, doesn't solve the issue?

DenisChenu

DenisChenu

2022-04-29 08:44

developer   ~69298

Last edited: 2022-04-29 08:45

related issue : https://bugs.limesurvey.org/view.php?id=16009

But i try something more complex than : debug is set to 3 (or 2) : show error, don't disable plugin and load plugin with error …

Detting `debug = 2, doesn't solve the issue?

With debug=2 : plugin are deactivated if you do a syntax error OR a notice error …

gabrieljenik

gabrieljenik

2023-05-17 23:55

manager   ~75063

Releasing this for now.

gabrieljenik

gabrieljenik

2023-06-12 16:51

manager   ~75557

Additional comment on this:

  • It is ok to get the plugin deactivated on error as to allow LS to keep on functioning and not falling no the error everytime.
  • When a plugin is deactivated and debug=0, an email could be sent to admin

To be picked up in the future.

Issue History

Date Modified Username Field Change
2022-04-28 17:20 gabrieljenik New Issue
2022-04-28 17:23 DenisChenu Note Added: 69288
2022-04-28 17:23 DenisChenu Bug heat 0 => 2
2022-04-28 17:23 DenisChenu Relationship added related to 16009
2022-04-28 17:24 DenisChenu Note Edited: 69288
2022-04-28 21:17 gabrieljenik Note Added: 69293
2022-04-28 21:17 gabrieljenik Bug heat 2 => 4
2022-04-28 21:30 galads Assigned To => gabrieljenik
2022-04-28 21:30 galads Status new => assigned
2022-04-29 08:44 DenisChenu Note Added: 69298
2022-04-29 08:45 DenisChenu Note Edited: 69298
2023-05-17 23:55 gabrieljenik Assigned To gabrieljenik =>
2023-05-17 23:55 gabrieljenik Status assigned => confirmed
2023-05-17 23:55 gabrieljenik Note Added: 75063
2023-06-12 16:51 gabrieljenik Note Added: 75557
2023-06-12 16:58 gabrieljenik Issue cloned: 18876