View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
09960Bug reportsData Entry (non public)public2015-11-10 12:28
Reportermas_carpone Assigned Tosammousa  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.06+ 
Summary09960: LS3 - Response update error
Description

Trying to update an existing response leads to an error:

CHttpException

Session not found

/home/sam/sites/whols.befound.nl/protected/controllers/survey/index.php(11)

01 <?php
02 use ls\models\Survey;
03 use ls\models\Template;
04
05 class index extends CAction {
06
07
08 public function run($_button = 'default', $csrfToken = null)
09 {
10 if (null === $session = App()->surveySessionManager->current) {
11 throw new \CHttpException(404, "Session not found");
12 }
13 if (App()->request->getIsPostRequest() && $csrfToken != $session->postKey) {
14 throw new \CHttpException(401, "CSRF Protection triggered.");
15 }
16
17
18 $buttons = [
19 'default' => true,
20 'next' => true,
21 'submit' => true,
22 'clearall' => true,
23 'changelang' => true

Steps To Reproduce

Insert an response in a given survey
Try to update that response

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)20151014
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)n/a
PHP Versionn/a
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-10-14 10:01 mas_carpone New Issue
2015-10-21 14:56 sammousa Status new => resolved
2015-10-21 14:56 sammousa Resolution open => fixed
2015-10-21 14:56 sammousa Assigned To => sammousa
2015-11-10 12:28 c_schmitz Status resolved => closed