View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10791Bug reportsSurvey editingpublic2016-05-12 10:38
Reporterollehar Assigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Target Version2.50.x 
Summary10791: Duplicate subquestion id at arrary-by-column gives Javascript error
Description

Duplicate subquestion id at arrary-by-column gives Javascript error at save

Steps To Reproduce

Create an array-by-column question
Quick add subquestions
Quick add other subquestions
Make duplicate id of any subquestion
Try to save - Javascript error

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)latest
I will donate to the project if issue is resolvedNo
Browser-
Database type & version-
Server OS (if known)-
Webserver software & version (if known)-
PHP Version-

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2016-03-21 09:56

developer   ~36634

If I remember well, it was yet the case in 2.06 and I think the easiest way to correct this bug is to rewrite entirely the way it's working. I will do it once...

DenisChenu

DenisChenu

2016-03-21 10:35

developer   ~36640

Last edited: 2016-03-21 10:35

No error with 2.06

LouisGac

LouisGac

2016-03-21 10:39

developer   ~36641

well the screenshot you added just show the exact bug described here

DenisChenu

DenisChenu

2016-03-21 13:52

developer   ~36669

Last edited: 2016-03-21 13:54

It's not a JS error : it's an error shown in JS : you can use same code.

2.50° error:
ReferenceError: $notifycontainer is not defined
http://limesurvey.sondages.pro/tmp/assets/5578423f/subquestions.js
Line 430

LouisGac

LouisGac

2016-03-21 13:55

developer   ~36671

the problem being :

1st. Quick add subquestions
2nd. Quick add other subquestions
then : error.

LouisGac

LouisGac

2016-05-11 13:27

developer   ~38328

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

c_schmitz

c_schmitz

2016-05-12 10:38

administrator   ~38422

Version 2.50 Build 160512 released

Related Changesets

LimeSurvey: master a97176c5

2016-05-11 13:27

LouisGac


Details Diff
Fixed issue 10791: Duplicate subquestion id at arrary-by-column gives Javascript error Affected Issues
10791
mod - scripts/admin/subquestions.js Diff File
add - tmp/bipyfyejvhsveen7s2ec Diff File

Issue History

Date Modified Username Field Change
2016-03-18 16:07 ollehar New Issue
2016-03-21 09:56 LouisGac Note Added: 36634
2016-03-21 10:34 DenisChenu File Added: Capture du 2016-03-21 10-33-47.png
2016-03-21 10:35 DenisChenu Note Added: 36640
2016-03-21 10:35 DenisChenu Note Edited: 36640
2016-03-21 10:39 LouisGac Note Added: 36641
2016-03-21 13:52 DenisChenu Note Added: 36669
2016-03-21 13:54 DenisChenu Note Edited: 36669
2016-03-21 13:55 LouisGac Note Added: 36671
2016-05-11 13:17 LouisGac Sticky Issue No => Yes
2016-05-11 13:27 LouisGac Changeset attached => LimeSurvey master a97176c5
2016-05-11 13:27 LouisGac Note Added: 38328
2016-05-11 13:27 LouisGac Assigned To => LouisGac
2016-05-11 13:27 LouisGac Resolution open => fixed
2016-05-11 13:27 LouisGac Status new => resolved
2016-05-11 16:13 c_schmitz Sticky Issue Yes => No
2016-05-12 10:38 c_schmitz Note Added: 38422
2016-05-12 10:38 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing