View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 13619 | Bug reports | Plugins | public | 2018-04-19 15:18 | 2021-03-11 08:40 | 
| Reporter | DenisChenu | Assigned To | ollehar | ||
| Priority | none | Severity | minor | ||
| Status | assigned | Resolution | open | ||
| Product Version | 3.6.x | ||||
| Summary | 13619: Loop somewhere save model in afterPluginLoad | ||||
| Description | When using Notification::broadcast in afterPluginLoad : there are an infinite loop somewhere  | ||||
| Steps To Reproduce | Inport this simple plugin : https://gitlab.com/snippets/1711012 Comment $this->subscribe('afterPluginLoad', 'logSomething');  | ||||
| Additional Information | Maybe it's a good idea to set 'max_execution_time' to 30 or less before ;)  | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 3.6.3 github | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | mysql | ||||
| Server OS (if known) | debian | ||||
| Webserver software & version (if known) | apache2 | ||||
| PHP Version | PHP5.6 | ||||
| 
	 @olle : trying too comment https://github.com/LimeSurvey/LimeSurvey/blob/48d571414b89bb0545d78c7212a357c31a49ac33/application/libraries/PluginManager/PluginManager.php#L408-L410 Not fixed too …  | 
|
| 
	 Another test using plugin log : Log didn't happen … ========== 
broke, then related to beforeModelSave or afterModelSave  | 
|
| 
	 Still relevant?  | 
|
| 
	 Yes : same plugin Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /mnt/data/shnoulle/nginx/www/3LTS/framework/db/CDbCommand.php on line 518  | 
|
| 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 | |
| 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 | 
					 | 
				Assigned To | => ollehar | 
| 2018-05-16 13:06 | 
					 | 
				Status | new => assigned | 
| 2021-03-10 21:30 | ollehar | Status | assigned => feedback | 
| 2021-03-10 21:30 | ollehar | Note Added: 63151 | |
| 2021-03-11 08:40 | DenisChenu | Note Added: 63274 | |
| 2021-03-11 08:40 | DenisChenu | File Added: reportBug.zip | |
| 2021-03-11 08:40 | DenisChenu | Status | feedback => assigned |