View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09322Bug reportsSurvey editingpublic2014-11-23 23:42
Reportergwj Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09322: mail Template content lost when you try to save it after a long time of inactivity (session timeout)
Description

When you are in edition mode in the mail Template section and if you try to save your job whereas you have been inactive for a certain amount of time, the vill be redirected to the login page, and all the templates messages, files, subjects regarding the templates will be lost and you will get hungry users.

The is no control of the active session or no notification of the lost session.

the amount of time seams to depend on the standard php session timeout

Steps To Reproduce

Edit you template, leave the page open, wait more than the timeout value, for exemple have a long phone call or a meeting (i think default is 1440 seconds )
the clik save and you have lost everything

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 2.05+ Build 141020
I will donate to the project if issue is resolvedNo
BrowserFirefox 33.0
Database type & versionMysql 5.1.73
Server OS (if known)Ubuntu 10.04 LTS
Webserver software & version (if known)Apache 2.2.14
PHP Version5.3.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-10-26 10:33

developer   ~30861

It's like all web service .....

I don't think we fix this ....

gwj

gwj

2014-10-26 19:51

reporter   ~30868

Hello,
Isn't it possible to just prevent that the data stored in the database to be erased to blank by this situation.
If you type new content it is ok to loose it if you did not save it but it is not ok to clear all the mail template messages stored because of a timeout.

I think this can be considered as a security breach because any one who knows a survey is may be able to clear the template with out any need to login
Can you please just have a look ?
regards

DenisChenu

DenisChenu

2014-10-27 08:49

developer   ~30870

Hi,

Ah yes, empty the mail template content is the bug to fix.

Sorry missunderstanding here :)

I take a loook (seems strange ????)

c_schmitz

c_schmitz

2014-10-29 20:18

administrator   ~30888

Redirect after login - will fix it.

c_schmitz

c_schmitz

2014-11-22 18:23

administrator   ~31049

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

c_schmitz

c_schmitz

2014-11-22 18:24

administrator   ~31050

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

c_schmitz

c_schmitz

2014-11-23 23:42

administrator   ~31062

Version 2.05 Build 141123 released.

Related Changesets

LimeSurvey: master 7de44ef6

2014-11-22 17:23:02

c_schmitz

Details Diff
Fixed issue 09322: E-mail template content lost when you trying to save after session timeout Affected Issues
09322
mod - application/controllers/admin/emailtemplates.php Diff File

LimeSurvey: 2.06 2f1dc020

2014-11-22 17:24:35

c_schmitz

Details Diff
Fixed issue 09322: E-mail template content lost when you trying to save after session timeout Affected Issues
09322
mod - application/controllers/admin/emailtemplates.php Diff File

Issue History

Date Modified Username Field Change
2014-10-21 23:18 gwj New Issue
2014-10-26 10:33 DenisChenu Note Added: 30861
2014-10-26 19:51 gwj Note Added: 30868
2014-10-27 08:49 DenisChenu Note Added: 30870
2014-10-29 20:13 c_schmitz Status new => closed
2014-10-29 20:13 c_schmitz Assigned To => c_schmitz
2014-10-29 20:13 c_schmitz Resolution open => won't fix
2014-10-29 20:18 c_schmitz Status closed => assigned
2014-10-29 20:18 c_schmitz Note Added: 30888
2014-11-22 18:23 c_schmitz Changeset attached => LimeSurvey master 7de44ef6
2014-11-22 18:23 c_schmitz Note Added: 31049
2014-11-22 18:23 c_schmitz Resolution won't fix => fixed
2014-11-22 18:24 c_schmitz Changeset attached => LimeSurvey 2.06 2f1dc020
2014-11-22 18:24 c_schmitz Note Added: 31050
2014-11-22 18:24 c_schmitz Status assigned => resolved
2014-11-22 18:24 c_schmitz Fixed in Version => 2.05+
2014-11-23 23:42 c_schmitz Note Added: 31062
2014-11-23 23:42 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing