View Issue Details

IDProjectCategoryView StatusLast Update
13619Bug reports[All Projects] Pluginspublic2018-05-16 13:06
ReporterDenisChenu Assigned Toollehar  
Status assignedResolutionopen 
Product Version3.6.x 
Target VersionFixed in Version 
Summary13619: Loop somewhere save model in afterPluginLoad

When using Notification::broadcast in afterPluginLoad : there are an infinite loop somewhere

Steps To Reproduce

Inport this simple plugin :
Try to activate …

Comment $this->subscribe('afterPluginLoad', 'logSomething');
Test public survey

Additional Information

Maybe it's a good idea to set 'max_execution_time' to 30 or less before ;)

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.6.3 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionmysql
Server OS (if known)debian
Webserver software & version (if known)apache2
PHP VersionPHP5.6




2018-04-19 15:22

developer   ~47466

@olle : trying too comment

Not fixed too …



2018-04-19 15:36

developer   ~47467

Last edited: 2018-04-19 15:41

View 2 revisions

Another test using plugin log :

Log didn't happen …


  $oUser = User::model()->findByPk(1);

broke, then related to beforeModelSave or afterModelSave

Issue History

Date Modified Username Field Change
2018-04-19 15:18 DenisChenu New Issue
2018-04-19 15:22 DenisChenu Note Added: 47466
2018-04-19 15:36 DenisChenu Note Added: 47467
2018-04-19 15:41 DenisChenu Note Edited: 47467 View Revisions
2018-04-19 15:43 DenisChenu Summary Loop somewhere using Notification::broadcast in afterPluginLoad => Loop somewhere save model in afterPluginLoad
2018-05-16 13:06 LouisGac Assigned To => ollehar
2018-05-16 13:06 LouisGac Status new => assigned