View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06387Bug reportsSurvey editingpublic2012-08-03 13:46
Reporterabita1 Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version2.00RC8 
Summary06387: Broken Add vs Replace Buttons on Quick Add for Labels
Description

Using the Quick Add inside the label creation:

Both "add" and "replace" function as replace.

In other areas I've visited, the quick add function correctly distinguishes between these two intended results.

Steps To Reproduce

Create a label setI

Insert some labels -- eg:
AA;AA-first
BB;BB-second

Then use quick add, and create additional label lines -- eg:
XX;XX-last

Hit the "add" button

The AA and BB labels are gone

This unintended effect does not occur in when using QuickAdd in the answers areas, by example. There, it operates as expected.

Additional Information

The code for the quick add at the Label area, and the Answers area for question creation -- those code for both seem to read the same:

<button id="btnqareplace" class="limebutton ui-state-default ui-corner-all" type="button">Replace</button>
<button id="btnqainsert" class="limebutton ui-state-default ui-corner-all" type="button">Add</button>

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120725
I will donate to the project if issue is resolvedNo
BrowserFireFox 14
Database type & versionMySQL
Server OS (if known)Linux / Apache
Webserver software & version (if known)1.3.3
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

lolo

lolo

2012-07-26 09:47

reporter   ~19974

Hi, this issue has already been reported (and fixed) in the 2.00 branch (see 06249).
A nice habit for the LS team would be to systematically check both branches for newly reported issues (since 1.92 and 2.00 do share common grounds).

tpartner

tpartner

2012-07-28 13:55

partner   ~20036

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

tpartner

tpartner

2012-07-28 13:55

partner   ~20037

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=9163

tpartner

tpartner

2012-07-28 13:57

partner   ~20038

Fixed in 1.92 and 2.0

c_schmitz

c_schmitz

2012-08-03 13:46

administrator   ~20163

2.00RC8 released.

Related Changesets

LimeSurvey: master 2d7a9b35

2012-07-28 04:54:22

tpartner

Details Diff
Fixed issue 06387: Broken Add vs Replace Buttons on Quick Add for Labels
Dev Added condition to check for existing labels
Affected Issues
06387
mod - admin/scripts/updateset.js Diff File

LimeSurvey: Yii 7a3de01b

2012-07-28 04:54:43

tpartner

Details Diff
Fixed issue 06387: Broken Add vs Replace Buttons on Quick Add for Labels
Dev Added condition to check for existing labels
Affected Issues
06387
mod - scripts/admin/updateset.js Diff File

Issue History

Date Modified Username Field Change
2012-07-25 19:57 abita1 New Issue
2012-07-26 09:47 lolo Note Added: 19974
2012-07-26 15:33 c_schmitz Assigned To => tpartner
2012-07-26 15:33 c_schmitz Status new => assigned
2012-07-28 13:55 tpartner Changeset attached => LimeSurvey master 2d7a9b35
2012-07-28 13:55 tpartner Note Added: 20036
2012-07-28 13:55 tpartner Resolution open => fixed
2012-07-28 13:55 tpartner Changeset attached => LimeSurvey Yii 7a3de01b
2012-07-28 13:55 tpartner Note Added: 20037
2012-07-28 13:57 tpartner Note Added: 20038
2012-07-28 13:57 tpartner Status assigned => resolved
2012-08-03 13:45 c_schmitz Fixed in Version => 2.00RC8
2012-08-03 13:46 c_schmitz Note Added: 20163
2012-08-03 13:46 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing