View Issue Details

IDProjectCategoryView StatusLast Update
13896Bug reportsPluginspublic2021-03-10 22:17
Reportermmirasol Assigned To 
PrioritynoneSeveritypartial_block 
Status feedbackResolutionopen 
Product Version3.13.x 
Summary13896: beforeSurveyDeactivate fires before and after a survey is deactivated
DescriptionThe beforeSurveyDeactivate event is fired on the deactivate confirm screen and again after the survey is deactivated.
 So any plugins using the webhook will fire twice every time a survey is deactivated. They will also fires even if the user chooses to continue with deactivation.
Steps To Reproduce1. Import the plugin attached.
2. Activate the plugin.
3. Import the lss attached.
4. Activate the survey.
5. Deactivate the survey.

You'll see the alert comes up on the confirm screen and again after the survey is deactivated.
https://snag.gy/zi4vxO.jpg
https://snag.gy/7t3SiZ.jpg
TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.13.2+180709
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database & DB-VersionMySQL 5.7.21
Server OS (if known)16.04.1 - (Ubuntu)
Webserver software & version (if known)Apache/2.4.18
PHP Version7.0.25

Activities

mmirasol

mmirasol

2018-07-23 20:41

reporter  

ollehar

ollehar

2021-03-10 22:17

administrator   ~63184

Please update to the latest version and check if the bug can still be reproduced. Thank you.

Issue History

Date Modified Username Field Change
2018-07-23 20:41 mmirasol New Issue
2018-07-23 20:41 mmirasol File Added: limesurvey_survey_121859.lss
2018-07-23 20:41 mmirasol File Added: TestSurveyDeactivate.zip
2019-11-26 17:40 cdorin Assigned To => cdorin
2019-11-26 17:40 cdorin Status new => assigned
2021-02-04 21:25 cdorin Assigned To cdorin =>
2021-02-04 21:25 cdorin Status assigned => acknowledged
2021-03-10 22:17 ollehar Status acknowledged => feedback
2021-03-10 22:17 ollehar Note Added: 63184