View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
08516Bug reportsSurvey editingpublic2014-01-23 08:42
Reportersjgknight Assigned Toc_schmitz  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary08516: Changing survey name appears to have deleted all survey questions (but not question groups)
Description

Creating a survey, adding questions, and then changing the name of the survey deletes all questions from the survey.

Steps To Reproduce

1) Create survey title 'survey 1'
2) Add a question to 'survey 1' - Q1
3) Change title of 'survey 1' to 'survey 2'
4) Q1 deleted

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)131209
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & version?
Server OS (if known)?
Webserver software & version (if known)?
PHP Version?

Relationships

related to 08467 closedtpartner Questions can disappear during sorting 

Users monitoring this issue

sjgknight

Activities

sjgknight

sjgknight

2014-01-07 18:25

reporter   ~27743

I should have noted that:
1) the question groups still exist and
2) I've just checked, and the questions are still in the database

sjgknight

sjgknight

2014-01-07 18:33

reporter   ~27744

I just ran the data integrity check, only issue showing (this one!) is:

"The following questions should be deleted:
QID:1 Reason: No matching group (0)..." (Etc)

DenisChenu

DenisChenu

2014-01-07 19:28

developer   ~27746

You can not add question before adding a group.
One step more somewhere ?

Can not reproduce.

sjgknight

sjgknight

2014-01-07 19:54

reporter   ~27748

Sorry, step 2, add a group (I actually added three). Then all the other steps.

I've got my survey back now (so this is less urgent for me!) but I did reproduce the error first. The groups remained, but the questions were no longer associated with groups (so I fixed this in the db) and thus didn't show up.

DenisChenu

DenisChenu

2014-01-07 20:38

developer   ~27749

Maybe some DB-version specific settings ...

But can not really happen like that.

sjgknight

sjgknight

2014-01-10 12:37

reporter   ~27817

Sorry a) for the delayed reply and b) for the inaccurate report above. I did two things - I changed the name and reordered the question groups, moving them to the left till they went green (this was the only way I could see to ensure one of the groups didn't end up subsumed under another). I've just run through the process again, and replicated the issue:
1) Create two q. groups.
2) Add questions.
3) Reorder question groups, swap them (or whatever)

Questions are then disassociated from their groups.

Seems to be a bug to me?

mfaber

mfaber

2014-01-10 13:15

reporter   ~27818

There was a bug thatcher lead to questions disappearing when reordering them, which is fixed in yesterdays release. Could you check if you can still reproduce the error with the new version?

sjgknight

sjgknight

2014-01-10 13:24

reporter   ~27819

Hi I updated via the update interface to the stable release and have reproduced the error in that version.

tpartner

tpartner

2014-01-10 14:25

partner   ~27820

I cannot reproduce this with the latest Git version.

sjgknight, what is your version number now? Can you attach a sample survey?

sjgknight

sjgknight

2014-01-10 15:40

reporter   ~27822

I'm using whatever version downloads from ...index.php/admin/globalsettings and am on the latest update: Version 2.05+ Build 140109.

Re: simple survey, I'm literally just creating a survey, adding two question groups (minimal info) and a single question to each (code & question, everything else blank/default), then switch the two groups around. This removes the questions from their groups (and therefore hides them from the UI).

DenisChenu

DenisChenu

2014-01-10 15:48

developer   ~27823

Maybe something with Expression Manager $_SESSION ?
Because here, i'm like Tony/tpartner : can not reproduce and can not find a way to reproduce.

tpartner

tpartner

2014-01-10 16:02

partner   ~27824

sjgknight, please try in another browser.

c_schmitz

c_schmitz

2014-01-17 14:13

administrator   ~27956

sjgknight: how exaclty do you switch the two groups around?

c_schmitz

c_schmitz

2014-01-22 16:51

administrator   ~28086

sjgknigh: Feedback please?

sjgknight

sjgknight

2014-01-23 08:33

reporter   ~28103

Sorry for the slow reply, switching was just dragging the two groups, so moving group 1 under group 2 and making sure it was dragged left (so not subsumed under the other group). I've actually done this on a fresh install on a different host and see that the questions within a group are displayed under that group. This wasn't the case with my original install. This may be a bug v. specific to my setup then...

c_schmitz

c_schmitz

2014-01-23 08:42

administrator   ~28104

Okay, I am assuming this is resolved, then.

Issue History

Date Modified Username Field Change
2014-01-07 18:16 sjgknight New Issue
2014-01-07 18:17 sjgknight Issue Monitored: sjgknight
2014-01-07 18:25 sjgknight Note Added: 27743
2014-01-07 18:33 sjgknight Note Added: 27744
2014-01-07 19:28 DenisChenu Note Added: 27746
2014-01-07 19:54 sjgknight Note Added: 27748
2014-01-07 20:38 DenisChenu Note Added: 27749
2014-01-10 12:37 sjgknight Note Added: 27817
2014-01-10 13:15 mfaber Note Added: 27818
2014-01-10 13:16 mfaber Relationship added related to 08467
2014-01-10 13:24 sjgknight Note Added: 27819
2014-01-10 14:25 tpartner Note Added: 27820
2014-01-10 15:40 sjgknight Note Added: 27822
2014-01-10 15:48 DenisChenu Note Added: 27823
2014-01-10 16:02 tpartner Note Added: 27824
2014-01-17 14:13 c_schmitz Note Added: 27956
2014-01-17 14:13 c_schmitz Assigned To => c_schmitz
2014-01-17 14:13 c_schmitz Status new => feedback
2014-01-22 16:51 c_schmitz Note Added: 28086
2014-01-23 08:33 sjgknight Note Added: 28103
2014-01-23 08:33 sjgknight Status feedback => assigned
2014-01-23 08:42 c_schmitz Note Added: 28104
2014-01-23 08:42 c_schmitz Status assigned => closed
2014-01-23 08:42 c_schmitz Resolution open => fixed
2014-01-23 08:42 c_schmitz Fixed in Version => 2.05+
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-03 09:28 guest Bug heat 10 => 12