View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10801Bug reportsSurvey editingpublic2016-04-01 11:36
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10801: PHP notice + bad relevance set in Array text sub question edit
Description

Multilingual survey : When save a Array text subquestion , adding a new sub question : show a php notice.
And X subquestion have the relevance of Y subquestion.

Steps To Reproduce

Create a multilingual survey
Add an array text question
Add 2 X subquestion + 2 Y sub question : save PHP notioce with debug at 2.

If debug at 0

  • Open again
  • Set something in relevan,ce for Y
  • Save
  • Look at DB : X have the same relevace
Additional Information

The relevance are not used actually, but we can use it in future

2.06 have the same issue : i fix both

TagsNo tags attached.
Attached Files
PHP notice.html (18,027 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)160321
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5
Server OS (if known)debian7/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-03-21 11:46

developer   ~36654

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

DenisChenu

DenisChenu

2016-03-21 11:48

developer   ~36655

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

c_schmitz

c_schmitz

2016-04-01 11:36

administrator   ~36896

Version 2.50+ Build 160401 released

Related Changesets

LimeSurvey: master 22edaa90

2016-03-21 11:46

DenisChenu


Details Diff
Fixed issue 10801: PHP notice + bad relevance set in Array text sub question edit
Dev: use isset($aRelevance[$iScaleID][$iPosition]) directly
Dev: if a plugin or if we do in core want to set relevance to scale 1 : less update to do ;)
Affected Issues
10801
mod - application/controllers/admin/database.php Diff File

LimeSurvey: 2.06lts 3d58850d

2016-03-21 11:48

DenisChenu


Details Diff
Fixed issue 10801: PHP notice + bad relevance set in Array text subquestion edit
Dev: use isset($aRelevance[$iScaleID][$iPosition]) directly
Affected Issues
10801
mod - application/controllers/admin/database.php Diff File

Issue History

Date Modified Username Field Change
2016-03-21 11:31 DenisChenu New Issue
2016-03-21 11:31 DenisChenu Status new => assigned
2016-03-21 11:31 DenisChenu Assigned To => DenisChenu
2016-03-21 11:31 DenisChenu File Added: PHP notice.html
2016-03-21 11:46 DenisChenu Changeset attached => LimeSurvey master 22edaa90
2016-03-21 11:46 DenisChenu Note Added: 36654
2016-03-21 11:46 DenisChenu Resolution open => fixed
2016-03-21 11:48 DenisChenu Changeset attached => LimeSurvey 2.06lts 3d58850d
2016-03-21 11:48 DenisChenu Note Added: 36655
2016-03-21 14:16 DenisChenu Status assigned => resolved
2016-03-21 14:16 DenisChenu Fixed in Version => 2.5
2016-04-01 11:36 c_schmitz Note Added: 36896
2016-04-01 11:36 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing