View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 19254 | Bug reports | Survey editing | public | 2023-11-20 14:48 | 2024-11-19 18:14 | 
| Reporter | tibor.pacalat | Assigned To | twilllig | ||
| Priority | none | Severity | crash | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 6.4.0-dev | ||||
| Fixed in Version | 6.4.0-dev | ||||
| Summary | 19254: With debug=2 going to Email Templates from Survey gives me 500 error | ||||
| Description | <h1>PHP Error [500]</h1> unserialize(): Passing null to parameter #1 ($data) of type string is deprecated (/var/www/ls-ce-6x/public/application/controllers/admin/EmailTemplates.php:69) #0 /var/www/ls-ce-6x/public/vendor/yiisoft/yii/framework/base/CErrorHandler.php(133): CErrorHandler->handleError()  | ||||
| Steps To Reproduce | Steps to reproduce
 Expected result(Write here what you expected to happen) Actual result(Write here what happened instead)  | ||||
| Tags | No tags attached. | ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 6.4.0-dev | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | . | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.1.4 | ||||
| 
	 I did fix a separate bug which also caused a crash in the same place. The particular error which Tibor reported here, is related to PHP8.1  | 
|
	
 We have a lot of micro issue with PHP8.1 and debug > 1 … And we don't start to move to 8.2 :crying:  | 
|
| 
	 added pr affects master and develop branches... should I make pr for develop also? or does it get pulled in from master?  | 
|
| 
	 master was merged to develop after. Only master since 5.X must only be 8.0 compatible  | 
|
| 
	 @mfavetti bug fixes always go to master. Master gets merged into develop after release if no one does this sooner. So, your master PR is enough. Thank you :)  | 
|
| 
	 @mfavetti there are some comments on your PR, can you please take a look at those https://github.com/LimeSurvey/LimeSurvey/pull/3630 ?  | 
|
| 
	 @tibor.pacalat followed up on the code review finally, sorry it took so long!  | 
|
| 
	 @tibor.pacalat ready to test :)  | 
|
| 
	 Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35854  | 
|
| 
	 Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35878  | 
|
| 
	
	 LimeSurvey: master 169875cb 2023-11-20 16:18 Details Diff  | 
Fixed issue 19254: Email Templates from Survey gives 500 error (debug=2) | 
Affected Issues 19254  | 
|
| mod - application/controllers/admin/EmailTemplates.php | Diff File | ||
| 
	
	 LimeSurvey: master 11281fc0 2023-12-15 17:41 Committer: GitHub Details Diff  | 
Fixed issue 19254: With debug=2 going to Email Templates from Survey… (#3630) | 
Affected Issues 19254  | 
|
| mod - application/controllers/admin/EmailTemplates.php | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2023-11-20 14:48 | tibor.pacalat | New Issue | |
| 2023-11-20 15:12 | twilllig | Assigned To | => twilllig | 
| 2023-11-20 15:12 | twilllig | Status | new => assigned | 
| 2023-11-20 15:19 | twilllig | Status | assigned => resolved | 
| 2023-11-20 15:19 | twilllig | Resolution | open => fixed | 
| 2023-11-20 15:19 | twilllig | Fixed in Version | => 6.4.0-dev | 
| 2023-11-20 15:55 | tibor.pacalat | Status | resolved => new | 
| 2023-11-20 15:55 | tibor.pacalat | Resolution | fixed => reopened | 
| 2023-11-20 16:02 | tibor.pacalat | Assigned To | twilllig => | 
| 2023-11-20 16:03 | twilllig | Note Added: 78543 | |
| 2023-11-20 16:03 | twilllig | Bug heat | 0 => 2 | 
| 2023-11-20 16:54 | DenisChenu | Note Added: 78551 | |
| 2023-11-20 16:54 | DenisChenu | Bug heat | 2 => 4 | 
| 2023-11-21 09:44 | mfavetti | Assigned To | => mfavetti | 
| 2023-11-21 09:44 | mfavetti | Status | new => assigned | 
| 2023-11-21 09:48 | mfavetti | Note Added: 78558 | |
| 2023-11-21 09:48 | mfavetti | Bug heat | 4 => 6 | 
| 2023-11-21 09:48 | mfavetti | Assigned To | mfavetti => DenisChenu | 
| 2023-11-21 09:48 | mfavetti | Status | assigned => ready for code review | 
| 2023-11-21 09:49 | mfavetti | Note Edited: 78558 | |
| 2023-11-21 09:49 | mfavetti | Note Edited: 78558 | |
| 2023-11-21 15:23 | DenisChenu | Assigned To | DenisChenu => mfavetti | 
| 2023-11-21 15:23 | DenisChenu | Status | ready for code review => in code review | 
| 2023-11-21 15:23 | DenisChenu | Note Added: 78594 | |
| 2023-11-21 19:43 | tibor.pacalat | Note Added: 78613 | |
| 2023-11-21 19:43 | tibor.pacalat | Bug heat | 6 => 8 | 
| 2023-11-21 19:44 | tibor.pacalat | Note Edited: 78613 | |
| 2023-11-23 16:40 | tibor.pacalat | Note Added: 78690 | |
| 2023-12-06 07:43 | mfavetti | Note Added: 78883 | |
| 2023-12-06 08:47 | DenisChenu | Status | in code review => ready for testing | 
| 2023-12-06 08:47 | DenisChenu | Note Added: 78885 | |
| 2023-12-15 16:41 | mfavetti | Changeset attached | => LimeSurvey master 11281fc0 | 
| 2023-12-15 16:41 | mfavetti | Note Added: 79018 | |
| 2023-12-15 16:41 | mfavetti | Resolution | reopened => fixed | 
| 2023-12-15 16:41 | tibor.pacalat | Status | ready for testing => resolved | 
| 2023-12-18 12:49 | twilllig | Changeset attached | => LimeSurvey master 169875cb | 
| 2023-12-18 12:49 | twilllig | Note Added: 79023 | |
| 2023-12-18 12:49 | twilllig | Assigned To | mfavetti => twilllig | 
| 2024-11-19 18:14 | c_schmitz | Status | resolved => closed |