Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
15860Bug reportsSurvey takingpublic2020-08-03 11:23
ReporterMazi Assigned To 
PrioritylowSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.1.2 
Summary15860: Changing language at question preview leads to loading the wrong page
Description

When calling the question preview at a multilingual survey and switching to a different language at the preview, it doesn't load the current question with the different language but seems to load the welcome page (though showing the welcome page is disabled).

Steps To Reproduce

Import the attached survey.
Preview a question in English
Switch the language at the preview
-> Wrong screen is loaded

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 4.1.4+200214
I will donate to the project if issue is resolvedNo
BrowserChrome
Database & DB-VersionMySQL 5
Server OS (if known)Ubuntu 18
Webserver software & version (if known)Apache 2
PHP Version7.2.26

Relationships

related to 16535 closed Changing language at question preview leads to loading the wrong page 

Activities

Mazi

Mazi

2020-02-13 09:35

partner   ~55936

Multilingual survey attached.

DenisChenu

DenisChenu

2020-06-16 14:29

developer   ~58307

It work in 2.6lts unsure after

gabrieljenik

gabrieljenik

2020-07-28 21:03

partner   ~59132

PR: https://github.com/LimeSurvey/LimeSurvey/pull/1511

Information about preview mode is not included in the language changer forms.
Updated the form's action when on previewgroup or previewquestion mode.

Should happen on LTS as well.
Already created a ticket for it.

sushmanadendla

sushmanadendla

2020-07-31 13:52

manager   ~59231

Tested the issue before pulling the PR, Issue exist. Tested the issue after pulling the PR, below are my findings:
Screenshot 1:Before Pulling the PR on changing the language on question preview landed in Welcome Page.
Screenshot 2:After pulling the PR I see on changing the language on preview question it landed in the question page only.
Working as expected. Please refer the attachment for more details

eddylackmann007

eddylackmann007

2020-08-03 09:43

reporter   ~59246

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

lime_release_bot

lime_release_bot

2020-08-03 11:23

administrator   ~59258

Fixed in Release 4.3.8+200803

Related Changesets

LimeSurvey: master dc4f06b5

2020-07-28 20:58:15

gabrieljenik


Committer: eddylackmann007 Details Diff
Fixed issue 15860: Changing language at question preview leads to loading the wrong page

Information about preview mode is not included in the language changer forms.
Updated the form's action when on previewgroup or previewquestion mode.
Affected Issues
15860
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2020-02-13 09:34 Mazi New Issue
2020-02-13 09:35 Mazi File Added: limesurvey_survey_463648.lss
2020-02-13 09:35 Mazi Note Added: 55936
2020-02-22 20:25 cdorin Priority none => low
2020-02-22 20:25 cdorin Status new => confirmed
2020-06-16 14:29 DenisChenu Note Added: 58307
2020-07-28 21:01 gabrieljenik Issue cloned: 16535
2020-07-28 21:01 gabrieljenik Relationship added related to 16535
2020-07-28 21:03 gabrieljenik Note Added: 59132
2020-07-31 13:52 sushmanadendla Note Added: 59231
2020-07-31 13:52 sushmanadendla File Added: 15860_QuePreview_ChangeLang.png
2020-08-03 09:43 eddylackmann007 Changeset attached => LimeSurvey master dc4f06b5
2020-08-03 09:43 eddylackmann007 Note Added: 59246
2020-08-03 11:23 lime_release_bot Note Added: 59258
2020-08-03 11:23 lime_release_bot Status confirmed => closed
2020-08-03 11:23 lime_release_bot Resolution open => fixed