Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
13090Bug reportsPluginspublic2018-05-23 11:20
ReporterDenisChenu Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Product Version3.0.0-rc.x 
Summary13090: Very Old plugin can break Plugin management (even deactivated)
Description

When there are old plugin using public function __construct(PluginManager $manager, $id) : this break totally plugin management (white page with debug=0)

Steps To Reproduce

Take the https://github.com/SondagesPro/LS-sendMailAjax/releases/tag/v0.2.1 old release, still working on 2.72 in limesurvey/plugin directory and see the white page

TagsNo tags attached.
Attached Files
FatalError.html (434 bytes)   
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body><br>
<b>Fatal error</b>:  Declaration of sendMailAjax::__construct() must be 
compatible with 
LimeSurvey\PluginManager\iPlugin::__construct(LimeSurvey\PluginManager\PluginManager
 $manager, $id) in <b>/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_develop/plugins/sendMailAjax/sendMailAjax.php</b> on line <b>475</b><br>
</body></html>
FatalError.html (434 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)3.0.0
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5.something
Server OS (if known)debian7+dotdeb (i know, must update)
Webserver software & version (if known)apache2
PHP VersionPHP5.6

Relationships

related to 13091 closedLouisGac Old plugin can break Plugin management (even deactivated) 

Activities

LouisGac

LouisGac

2018-05-23 11:20

developer   ~47734

no plugin retro-compatibility

Issue History

Date Modified Username Field Change
2017-12-20 17:50 DenisChenu New Issue
2017-12-20 17:50 DenisChenu File Added: FatalError.html
2017-12-20 17:52 DenisChenu Summary Old plugin can break Plugin management (even deactivated) => Very Old plugin can break Plugin management (even deactivated)
2017-12-20 17:55 DenisChenu Relationship added related to 13091
2018-05-23 11:20 LouisGac Assigned To => LouisGac
2018-05-23 11:20 LouisGac Status new => closed
2018-05-23 11:20 LouisGac Resolution open => won't fix
2018-05-23 11:20 LouisGac Note Added: 47734