View Issue Details

IDProjectCategoryView StatusLast Update
14323Bug reports[All Projects] Conditionspublic2018-12-06 19:50
ReportercdorinAssigned ToDenisChenu 
PrioritynoneSeveritymajor 
Status resolvedResolutionfixed 
Product Version3.15.x 
Target VersionFixed 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.
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionirrelevant
Server OS (if known)
Webserver software & version (if known)
PHP Versionirrelevant

Activities

cdorin

cdorin

2018-12-06 11:58

updater  

Selection_021.png (42,193 bytes)
Selection_021.png (42,193 bytes)
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

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"
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