View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
13896Bug reportsPluginspublic2021-09-09 08:42
Reportermmirasol Assigned Togalads  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
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.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Version 3.13.2+180709
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome
Database type & 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

Users monitoring this issue

There are no users monitoring this issue.

Activities

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.

galads

galads

2021-09-09 08:42

reporter   ~66413

Hello mmirasol,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

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
2021-09-09 08:42 galads Assigned To => galads
2021-09-09 08:42 galads Status feedback => closed
2021-09-09 08:42 galads Resolution open => fixed
2021-09-09 08:42 galads Note Added: 66413
2021-09-09 08:42 galads Bug heat 2 => 4