View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
08948Bug reportsSurvey editingpublic2014-04-22 21:28
Reporteroscarn Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.06+Fixed in Version2.06+ 
Summary08948: Copying a survey result in loss of array answer options
Description

Hi, when I copy a survey with an array question with text answers they seem to get lost in the copying process even though I use a labelset which contains both the languages I'm using for the survey (swedish & english)

Instead of the question showing up I get the error text:

Error: There are no answer options for this question and/or they don't exist in this language.

Steps To Reproduce
  1. Create a swedish survey (I haven't tried any other base language) and make an array question
  2. Either write your own text answers or choose an existing labelset (doesn't seem to matter)
  3. Copy the survey
  4. Go to the new survey and test it
  5. The array question should now have been replaced by "Error: There are no answer options for this question and/or they don't exist in this language."
TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)Build 140320
I will donate to the project if issue is resolvedYes
BrowserGoogle Chrome
Database type & versionDon't know
Server OS (if known)Windows Server 2008
Webserver software & version (if known)Don't know
PHP VersionDon't know

Users monitoring this issue

mfaber

Activities

DenisChenu

DenisChenu

2014-04-10 08:26

developer   ~29703

Can not reproduce with Version 2.05+ Build 140404

Import ORIGINAL.lss : OK
Copy survey : OK

oscarn

oscarn

2014-04-10 10:21

reporter   ~29706

Last edited: 2014-04-10 13:06

Updated to 2.05+ Build 140404 and the "feature" is still present for me. Any suggestions?

c_schmitz

c_schmitz

2014-04-15 09:58

administrator   ~29769

Can you reproduce it using our demo?

oscarn

oscarn

2014-04-15 13:33

reporter   ~29784

Hi, yes. I made two surveys

'array_original' and 'array_copy'

If 'array_copy' looks fine to you, it must be something with my browser? Or maybe it's the design template, because I'm using a the 'mint_idea' template, only with some minor modifications (like logo), on my own survey.

This is how they look for me:

http://i.imgur.com/ExtkgNI.jpg

Bottom one is original.

oscarn

oscarn

2014-04-15 13:38

reporter   ~29785

Update:

When I import the copy survey that I attached in my original post I get the same error message. Tried this in Chrome's incognito mode as well.

c_schmitz

c_schmitz

2014-04-15 14:00

administrator   ~29786

I cannot see the two surveys on the demo? Can you create them again?

c_schmitz

c_schmitz

2014-04-15 14:02

administrator   ~29787

I can import and copy the attache ORIGINAL.lss just fine in the demo.

oscarn

oscarn

2014-04-15 14:36

reporter   ~29788

Created them again. Don't know why they disappeared.

oscarn

oscarn

2014-04-15 14:39

reporter   ~29789

Side note; the import of the COPY.lss in the demo is called 'testfan' and it does also have the issue.

c_schmitz

c_schmitz

2014-04-15 15:07

administrator   ~29790

Last edited: 2014-04-15 15:07

I can copy that survey 'new test original' in the demo just fine (copied it to 'new test copy2')

So what are you doing exactly when copying a survey? Any options you are maybe checking?

DenisChenu

DenisChenu

2014-04-15 15:08

developer   ~29791

Did you try with firefox or IE and not chrome ?
I think i test with chromium, but to be sure ....

c_schmitz

c_schmitz

2014-04-15 15:10

administrator   ~29792

I tested with FF and Chrome.

oscarn

oscarn

2014-04-15 15:13

reporter   ~29793

Last edited: 2014-04-15 15:14

I recorded a video of the process.

https://www.dropbox.com/s/ph6u9tvkyhsfut6/survey.mp4

EDIT: If you download it, the quality is enough to see what's going on.

oscarn

oscarn

2014-04-15 15:18

reporter   ~29794

Last edited: 2014-04-15 15:21

I'm checking every option, but I don't see why any of those options would make the question invalid. Maybe the bug is there?

EDIT: OH SHIT. The "Exclude Answers" option excludes the different answers to the array question? I thought it removed all completed survey answers (making a fresh copy of the survey)!

EDIT2: Yes, that did the trick. It's the "Exclude Answers" option that does that. Is that intended?

c_schmitz

c_schmitz

2014-04-15 15:22

administrator   ~29795

Yes, that what 'Exclude answer' means.

c_schmitz

c_schmitz

2014-04-15 15:23

administrator   ~29796

"Answer options" are not 'responses'. I guess we will have to rename it to 'Exclude answer options' to make it more clear.

c_schmitz

c_schmitz

2014-04-15 15:27

administrator   ~29797

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

oscarn

oscarn

2014-04-15 15:38

reporter   ~29798

Awesome, thanks alot for the help. This project is great.

DenisChenu

DenisChenu

2014-04-15 15:57

developer   ~29799

Last edited: 2014-04-15 15:57

This one is really awesome ! Good catch Carsten !

c_schmitz

c_schmitz

2014-04-22 21:28

administrator   ~29860

2.05+ Build 140422 released.

Related Changesets

LimeSurvey: 2.06 107b083d

2014-04-15 13:28:07

c_schmitz

Details Diff
Fixed issue 08948: Bad wording on copy survey options Affected Issues
08948
mod - application/views/admin/survey/subview/tabCopy_view.php Diff File

Issue History

Date Modified Username Field Change
2014-04-09 17:32 oscarn New Issue
2014-04-09 17:32 oscarn File Added: Original survey and copy.rar
2014-04-09 22:41 mfaber Issue Monitored: mfaber
2014-04-10 08:26 DenisChenu Note Added: 29703
2014-04-10 10:21 oscarn Note Added: 29706
2014-04-10 13:06 oscarn Note Edited: 29706
2014-04-15 09:58 c_schmitz Note Added: 29769
2014-04-15 09:58 c_schmitz Assigned To => c_schmitz
2014-04-15 09:58 c_schmitz Status new => feedback
2014-04-15 13:33 oscarn Note Added: 29784
2014-04-15 13:33 oscarn Status feedback => assigned
2014-04-15 13:38 oscarn Note Added: 29785
2014-04-15 14:00 c_schmitz Note Added: 29786
2014-04-15 14:02 c_schmitz Note Added: 29787
2014-04-15 14:36 oscarn Note Added: 29788
2014-04-15 14:39 oscarn Note Added: 29789
2014-04-15 15:07 c_schmitz Note Added: 29790
2014-04-15 15:07 c_schmitz Note Edited: 29790
2014-04-15 15:08 DenisChenu Note Added: 29791
2014-04-15 15:10 c_schmitz Note Added: 29792
2014-04-15 15:13 oscarn Note Added: 29793
2014-04-15 15:14 oscarn Note Edited: 29793
2014-04-15 15:18 oscarn Note Added: 29794
2014-04-15 15:20 oscarn Note Edited: 29794
2014-04-15 15:21 oscarn Note Edited: 29794
2014-04-15 15:22 c_schmitz Note Added: 29795
2014-04-15 15:23 c_schmitz Note Added: 29796
2014-04-15 15:26 c_schmitz Target Version => 2.06+
2014-04-15 15:27 c_schmitz Changeset attached => LimeSurvey 2.06 107b083d
2014-04-15 15:27 c_schmitz Note Added: 29797
2014-04-15 15:27 c_schmitz Resolution open => fixed
2014-04-15 15:28 c_schmitz Status assigned => resolved
2014-04-15 15:28 c_schmitz Fixed in Version => 2.06+
2014-04-15 15:38 oscarn Note Added: 29798
2014-04-15 15:57 DenisChenu Note Added: 29799
2014-04-15 15:57 DenisChenu Note Edited: 29799
2014-04-22 21:28 c_schmitz Note Added: 29860
2014-04-22 21:28 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-03 06:12 guest Bug heat 6 => 8