View Issue Details

IDProjectCategoryView StatusLast Update
13896Bug reportsPluginspublic2019-11-26 17:40
Reportermmirasol Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status assignedResolutionopen 
Product Version3.13.x 
Summary13896: beforeSurveyDeactivate fires before and after a survey is deactivated
Description

The 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 Reproduce
  1. 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  

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