View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
05780Bug reportsSurvey editingpublic2012-03-14 21:08
ReporterIoSmith Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.92RC3 
Fixed in Version1.92RC4 
Summary05780: Label Sets not loaded when editing answer options in an Array
Description

When pressing the "Predefined Label Sets..." and the "Label Set Browser" pops up the Available Label Sets is empty although we have already had edited at least one predefined label set. Tested with question types "Array" and "Array (Texts)".

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)12204
I will donate to the project if issue is resolvedNo
Browser
Database type & versionWampServer Version 2.1
Server OS (if known)WampServer Version 2.1
Webserver software & version (if known)WampServer Version 2.1
PHP VersionWampServer Version 2.1

Relationships

parent of 05806 closedmagiclko No label set for quick add // Save as label set don't work 

Users monitoring this issue

IoSmith

Activities

TMSWhite

TMSWhite

2012-02-09 06:43

reporter   ~17302

I can't reproduce the problem. I have 4 label sets, all of which are available and work properly for multiple choice, Array, and Array Texts.

Please attach a survey that demonstrates the problem and/or attach an exported copy of your label set.

Mazi

Mazi

2012-02-09 09:47

updater   ~17312

IoSmith, please check if the langauge(s) of the label set completely match the survey language(s).
Can you provide a complete DB dump for testing?

IoSmith

IoSmith

2012-02-09 15:07

reporter   ~17329

My apologies. It is a language mismatch.

One note: You may consider to a) warn the user for "not having a label set in his survey language" or b) let the user set a label set regardless the language of the survey.

TMSWhite

TMSWhite

2012-02-09 15:11

reporter   ~17330

Since this isn't actually a bug, I'm marking it as resolved.

The idea of adding a warning message, or creating labels that span messages is a good one. Please add that to the wish list at ideas.limesurvey.org

Mazi

Mazi

2012-02-09 17:15

updater   ~17335

"The idea of adding a warning message" -> Couldn't we implement that right away since it is a question often asked at the forums so there are several people having problems with that!?

TMSWhite

TMSWhite

2012-02-09 17:23

reporter   ~17336

Mazi-

I don't know how or where to add that (and don't have time). Can that task be assigned to someone else?

/Tom

Mazi

Mazi

2012-02-09 20:53

updater   ~17343

Denis, can you add a warning message if there are no label sets that match the survey's language(s)?

DenisChenu

DenisChenu

2012-02-10 15:12

developer   ~17354

Hello:

For string langage in englis:
There are no Label set with same langage of your survey

Or something other ?

IoSmith

IoSmith

2012-02-10 15:51

reporter   ~17356

I was thinking why there is such strictness for the label sets to be in the same language as the survey's?
For example, i would like to use a German label set in my English survey. Why not?

Mazi

Mazi

2012-02-10 16:34

updater   ~17359

@Shnoulle: Please use "There are no label sets which match your survey language(s)" (<- mind the new functions for creating singular/plural translations, Carsten had sent a message to DEV mailing list about that.)

@IoSmith: It's mainly to prevent the users doing stupid stuff and there are also technical reasons (which could be dealt with), e. g. the language parameter is stored for each value.

DenisChenu

DenisChenu

2012-02-10 18:17

developer   ~17363

Oups,

Actually: test for default langage of the survey only. Not for whole survey.

Easy : add a alert
More difficult : found the default_label_set if the default langage aren't in label stes. See lately.

DenisChenu

DenisChenu

2012-02-11 01:32

developer   ~17371

Revision: 12442
Just information

c_schmitz

c_schmitz

2012-02-14 14:10

administrator   ~17397

1.92RC4 released

Related Changesets

LimeSurvey: Yii 807eb90f

2012-02-10 16:41:41

DenisChenu

Details Diff
Dev : issue 05780 : information in label set ui-dialog, another bug to resolve : 05806

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12443 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05780
mod - application/views/admin/survey/Question/answerOptions_view.php Diff File
mod - application/views/admin/survey/Question/subQuestion_view.php Diff File
mod - scripts/admin/answers.js Diff File
mod - scripts/admin/subquestions.js Diff File
mod - styles/admin/default/adminstyle-rtl.css Diff File
mod - styles/admin/default/adminstyle.css Diff File

Issue History

Date Modified Username Field Change
2012-02-08 16:40 IoSmith New Issue
2012-02-09 06:43 TMSWhite Note Added: 17302
2012-02-09 06:43 TMSWhite Assigned To => TMSWhite
2012-02-09 06:43 TMSWhite Status new => feedback
2012-02-09 09:47 Mazi Note Added: 17312
2012-02-09 15:07 IoSmith Note Added: 17329
2012-02-09 15:07 IoSmith Status feedback => assigned
2012-02-09 15:07 IoSmith Issue Monitored: IoSmith
2012-02-09 15:11 TMSWhite Note Added: 17330
2012-02-09 15:11 TMSWhite Status assigned => resolved
2012-02-09 15:11 TMSWhite Resolution open => no change required
2012-02-09 17:15 Mazi Note Added: 17335
2012-02-09 17:23 TMSWhite Note Added: 17336
2012-02-09 20:53 Mazi Assigned To TMSWhite => DenisChenu
2012-02-09 20:53 Mazi Status resolved => assigned
2012-02-09 20:53 Mazi Note Added: 17343
2012-02-10 15:12 DenisChenu Note Added: 17354
2012-02-10 15:51 IoSmith Note Added: 17356
2012-02-10 16:34 Mazi Note Added: 17359
2012-02-10 18:17 DenisChenu Note Added: 17363
2012-02-11 01:32 DenisChenu Note Added: 17371
2012-02-11 01:32 DenisChenu Status assigned => resolved
2012-02-11 01:32 DenisChenu Fixed in Version => 1.92RC4
2012-02-11 01:39 DenisChenu Relationship added parent of 05806
2012-02-14 14:10 c_schmitz Note Added: 17397
2012-02-14 14:10 c_schmitz Status resolved => closed
2012-03-14 21:08 DenisChenu Changeset attached => Import 2012-03-09 13:30:34 Yii 807eb90f
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing