View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09533Bug reportsImport/Exportpublic2016-08-24 16:58
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09533: TSV export/import multi with other add a other sub question
Description

When exporting a multi choice question in TSV : are a subquestion for other. When importing, a new subquestion is imported with code other (and the question allow other).
This break activation.

Steps To Reproduce

Create a multi choice question with othe availbale, export in TSV, import survey in TSV and try to activate : fix code before.

Additional Information

I think we have 2 bug here:

  • Export Sub Q "other" : this is not needed.
  • When importing, create a sub question 'other' if question is other available.

Fixing first is not enough : because it break old importation.

When using 'other' in sub question code : javascript error : but rules allow other for sub question code (and some user use it for filtering : showing other .

I think it's great to leave ability to leave user choice to choose 'other'. Disallow it ONLY if question have "Option 'Other'" to YES.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)150219
I will donate to the project if issue is resolvedNo
BrowserFireFox 35 (Linux)
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevantn
PHP Versionnot relevant

Relationships

related to 09534 closedDenisChenu Feature requests Remove uneended javascript disalowing other in sub question code 
related to 09909 closedDenisChenu Bug reports Empty colums in export file while data visible in GUI 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-02-19 16:50

developer   ~31709

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

c_schmitz

c_schmitz

2015-05-08 09:16

administrator   ~32129

2.05+ Build 150508 released

Related Changesets

LimeSurvey: master faa1ff01

2015-02-19 15:31:42

DenisChenu

Details Diff
Fixed issue #TSV export/import multiple with other add a other sub-question
Dev: fix importing
Affected Issues
09533
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: master 75c3f710

2015-02-19 15:32:10

DenisChenu

Details Diff
Dev: some comment maybe .... Affected Issues
09533
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: 2.06 76534892

2015-02-19 15:50:26

DenisChenu

Details Diff
Fixed issue 09533 : TSV export/import multiple with other add a other sub-question
Dev: Beter count for default value
Dev: Potential notice for import survey (seems not happen actually).
Affected Issues
09533
mod - application/controllers/admin/surveyadmin.php Diff File
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-02-19 15:27 DenisChenu New Issue
2015-02-19 15:27 DenisChenu Status new => assigned
2015-02-19 15:27 DenisChenu Assigned To => DenisChenu
2015-02-19 16:36 DenisChenu Changeset attached => LimeSurvey master 75c3f710
2015-02-19 16:37 DenisChenu Changeset attached => LimeSurvey master faa1ff01
2015-02-19 16:50 DenisChenu Changeset attached => LimeSurvey 2.06 76534892
2015-02-19 16:50 DenisChenu Note Added: 31709
2015-02-19 16:50 DenisChenu Resolution open => fixed
2015-02-19 16:51 DenisChenu Relationship added related to 09534
2015-02-19 16:52 DenisChenu Status assigned => resolved
2015-02-19 16:52 DenisChenu Fixed in Version => 2.05+
2015-05-08 09:16 c_schmitz Note Added: 32129
2015-05-08 09:16 c_schmitz Status resolved => closed
2016-08-24 16:58 DenisChenu Relationship added related to 09909