View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14323Bug reportsConditionspublic2019-04-30 09:12
Reportercdorin Assigned ToDenisChenu  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version3.15.x 
Fixed in Version3.15.x 
Summary14323: Error - resetting conditions
Description

Cannot reset conditions. Getting the error from the screenshot

Steps To Reproduce

Add a random condition -> tools -> reset conditions -> yes -> error

TagsNo tags attached.
Attached Files
Selection_021.png (42,193 bytes)   
Selection_021.png (42,193 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browser
Database type & versionirrelevant
Server OS (if known)
Webserver software & version (if known)
PHP Versionirrelevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2018-12-06 19:37

developer   ~49899

I have delete all conditon (it work),

Where is this Reset condition button ?

DenisChenu

DenisChenu

2018-12-06 19:39

developer   ~49900

OK found it :

Url is
?r=admin/conditions/sa/index/subaction/resetsurveylogic/surveyid/655577?ok=Y then ((string) (int) $params['iSurveyId'] !== (string) $params['iSurveyId'])

And : seems the ok is set in GET : mean it can work with path param without CRSF control …

DenisChenu

DenisChenu

2018-12-06 19:50

developer   ~49901

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=28603

c_schmitz

c_schmitz

2019-04-30 09:12

administrator   ~51634

Fixed in Version 3.1.7.3

Related Changesets

LimeSurvey: master 75b52f0f

2018-12-06 19:49:49

DenisChenu

Details Diff
Fixed issue 14323: Error - resetting conditions
Fixed issue : No CSRF control when delete all condition
Dev: remove this AWFULL onclick="window.open"
Affected Issues
14323
mod - application/controllers/admin/conditionsaction.php Diff File
mod - application/views/admin/conditions/deleteAllConditions.php Diff File

Issue History

Date Modified Username Field Change
2018-12-06 11:58 cdorin New Issue
2018-12-06 11:58 cdorin File Added: Selection_021.png
2018-12-06 19:37 DenisChenu Note Added: 49899
2018-12-06 19:39 DenisChenu Note Added: 49900
2018-12-06 19:46 DenisChenu Assigned To => DenisChenu
2018-12-06 19:46 DenisChenu Status new => assigned
2018-12-06 19:50 DenisChenu Changeset attached => LimeSurvey master 75b52f0f
2018-12-06 19:50 DenisChenu Note Added: 49901
2018-12-06 19:50 DenisChenu Resolution open => fixed
2018-12-06 19:50 DenisChenu Status assigned => resolved
2018-12-06 19:50 DenisChenu Fixed in Version => 3.15.x
2019-04-30 09:12 c_schmitz Note Added: 51634
2019-04-30 09:12 c_schmitz Status resolved => closed