View Issue Details

This bug affects 2 person(s).
 8
IDProjectCategoryView StatusLast Update
17778Bug reportsAuthenticationpublic2023-07-21 08:05
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionsuspended 
Product Version5.2.x 
Summary17778: Possible log out when preview survey
Description

When testing survey : when page is loaded : if you click on another link : you are logued out.

Steps To Reproduce

Steps to reproduce

  1. Import ls3_sample_survey_multilingual_fr_de_en_it.lss
  2. Set it as all in one page
  3. Open a tab on another survey
  4. get back to ls3_sample_survey
  5. Click on Preview survey
  6. Click on a link on another survey tab

Expected result

Stay login

Actual result

Logout

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build) 5.2.4
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 18975 acknowledged Administrative user logout when rapidly refreshing question or group preview 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2021-12-06 17:32

developer   ~67711

Reason is here : https://github.com/LimeSurvey/LimeSurvey/blob/8a9766314fecc4d0a1c362b0ae6395303bb6323c/application/helpers/frontend_helper.php#L1226

remove Yii:app()->session->regenerateID(true); fix the issue.

This force plugin ajax system to use ajax async to false : https://gitlab.com/SondagesPro/QuestionSettingsType/questionSpreadsheetSurvey/-/commit/4fef929f481b055e4f7a063e5963051df4060d9e

DenisChenu

DenisChenu

2021-12-06 17:33

developer   ~67712

@c_schmitz : a way to reproduce on SAAS :)

We talk of this some day ago.

DenisChenu

DenisChenu

2023-03-03 16:46

developer   ~74023

I close it : have loss of data without the session re-initialization, i create another issue, and demo to have tracks in mantis.

Issue History

Date Modified Username Field Change
2021-12-06 17:26 DenisChenu New Issue
2021-12-06 17:26 DenisChenu File Added: Peek 06-12-2021 -backtohome.gif
2021-12-06 17:26 DenisChenu File Added: Peek 06-12-2021 LogOut.gif
2021-12-06 17:26 DenisChenu File Added: Peek 06-12-2021 LogOut SAAS.gif
2021-12-06 17:32 DenisChenu Note Added: 67711
2021-12-06 17:32 DenisChenu Bug heat 0 => 2
2021-12-06 17:33 DenisChenu Note Added: 67712
2021-12-14 13:05 galads Assigned To => galads
2021-12-14 13:05 galads Status new => confirmed
2022-07-12 18:47 DenisChenu Assigned To galads =>
2022-07-13 14:03 guest Bug heat 2 => 8
2022-09-09 15:26 DenisChenu Assigned To => DenisChenu
2022-09-09 15:26 DenisChenu Status confirmed => assigned
2022-09-09 15:56 DenisChenu Assigned To DenisChenu =>
2022-09-09 15:56 DenisChenu Status assigned => ready for code review
2022-09-09 15:57 DenisChenu Assigned To => c_schmitz
2023-03-03 16:46 DenisChenu Status ready for code review => closed
2023-03-03 16:46 DenisChenu Resolution open => suspended
2023-03-03 16:46 DenisChenu Note Added: 74023
2023-07-21 08:05 DenisChenu Relationship added related to 18975