View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09343Bug reportsSurvey editingpublic2014-11-10 12:48
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09343: Unable to see Question group survey_logic_file after import
Description

When import a new group, unable to see the group in survey logic file

Steps To Reproduce

Import a lsg file, click on survey logic file for this group:
Invalid question - probably missing sub-questions or language-specific settings for language languagecode

Additional Information

It's dur to a strange system in function getGroupInfoForEM($surveyid,$lang=NULL) on em_manager_helper

1st : we search all group with order and fill the $qinfo[$_order] with DB : great : we have all the group
2nd : we reset $qinfo[$_order] with $SESSION['survey'.$surveyid]['grouplist'] : $SESSION['survey'.$surveyid]['grouplist'] can be deprecated then we don't add the last group imported.

I think we just need to remove this second part, and get the language default with $_SESSION['LEMlang'] : ( not directly but a new static function getEmLanguage like we have getLEMsurveyId, to be easily updated when we move to a real cache system).

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)141031
I will donate to the project if issue is resolvedNo
BrowserFF32
Database type & versionMysql 5
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.4.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-11-01 14:50

developer   ~30898

The seocnd from $_SESSION must be for alea ?

DenisChenu

DenisChenu

2014-11-03 12:42

developer   ~30907

Another issue : after reordering Group, logic survey file are completely broken : question inside bad group

DenisChenu

DenisChenu

2014-11-03 15:42

developer   ~30908

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

DenisChenu

DenisChenu

2014-11-03 16:10

developer   ~30909

All random must be reviewed

c_schmitz

c_schmitz

2014-11-10 12:48

administrator   ~30932

Version 2.05 Build 141110 released

Related Changesets

LimeSurvey: master db19b551

2014-11-03 14:42:05

DenisChenu

Details Diff
Fixed issue 09343: Unable to see Question group survey_logic_file after import
Dev: just deactivate for expression logic file : bug with browse and export
Affected Issues
09343
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2014-10-31 11:46 DenisChenu New Issue
2014-10-31 11:46 DenisChenu Assigned To => DenisChenu
2014-10-31 11:46 DenisChenu Status new => assigned
2014-11-01 14:50 DenisChenu Note Added: 30898
2014-11-03 12:42 DenisChenu Note Added: 30907
2014-11-03 15:42 DenisChenu Changeset attached => LimeSurvey master db19b551
2014-11-03 15:42 DenisChenu Note Added: 30908
2014-11-03 15:42 DenisChenu Resolution open => fixed
2014-11-03 16:10 DenisChenu Note Added: 30909
2014-11-03 16:10 DenisChenu Status assigned => resolved
2014-11-03 16:10 DenisChenu Fixed in Version => 2.05+
2014-11-10 12:48 c_schmitz Note Added: 30932
2014-11-10 12:48 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing