View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07130Bug reportsData Entry (non public)public2013-01-15 09:14
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07130: Cryptic validation criteria shown in data entry mode
Description

When using data entry mode, simple valididation criteria are shown in a way that are not understood by non-programmers (eg., data entry persons).
This is also shown more than once (in different questions).
See attached GIF.

Example:
[Die Antwort(en) müssen diesen Validierungskriterien genügen:]
if( ! is_empty(6) && is_empty(18), sprintf('Jede Antwort muss mindestens %s sein', fixnum(6)), '')if(is_empty(6) && ! is_empty(18), sprintf('Jede Antwort darf maximal %s sein', fixnum(18)), '')if( ! is_empty(6) && (6) == (18), sprintf('Jede Antwort muss %s sein.', fixnum(6)), '')if( ! is_empty(6) && ! is_empty(18) && (6) != (18), sprintf('Jede Antwort muss zwischen %s und %s sein', fixnum(6), fixnum(18)), '')

Steps To Reproduce

open attached survey
activate survey
use data entry mode

TagsNo tags attached.
Attached Files
does_not_compute.gif (258,289 bytes)
Bug heat6
Complete LimeSurvey version number (& build)121231
I will donate to the project if issue is resolvedNo
BrowserFF, Chrome
Database type & versionMySQL (recent XAMPP)
Server OS (if known)Win7 Pro
Webserver software & version (if known)Apache (recent XAMPP)
PHP VersionPHP (recent XAMPP)

Relationships

duplicate of 06023 closedc_schmitz Print preview shows conditions as formula 

Users monitoring this issue

mfaber

Activities

mfaber

mfaber

2013-01-03 16:34

reporter   ~23446

Last edited: 2013-01-03 18:11

Please have a look at the screenshot. To me this is not a duplicate of 06023. The shown validation criteria (sprintf..) look very much different from expression manager code. Furthermore, the validation criteria in the example questionnaire are only set for the "age" question but are shown 3 times, also for other questions.

To me this looks like a bug. If it is not, sorry for my ignorance. Is there a way to get rid of all this cryptic text in data entry mode altogether?

c_schmitz

c_schmitz

2013-01-05 01:02

administrator   ~23466

It is autogenerated expression manager code. There is currently no way to get rid of this.

mfaber

mfaber

2013-01-05 01:26

reporter   ~23468

Sorry for reopening this again...really don't mean to bug you...but...

  1. There is no problem in the print version with the validation criteria of this question. When printing there's a perfect text (in german): "Every answer has to be between 6 and 18". The problem is only in data entry.

  2. The cryptic text is shown 4 times in total in data entry. First time for the question were the criteria "answer should be between 6 an 18" is set. But also for the three following, totally unrelated questions of different question type (see screenshot).

c_schmitz

c_schmitz

2013-01-10 00:54

administrator   ~23599

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

c_schmitz

c_schmitz

2013-01-10 00:56

administrator   ~23600

You are right about that - these should not show up on the following questions and this is fixed now. For the rest this will be fixed in 2.1.

c_schmitz

c_schmitz

2013-01-15 09:14

administrator   ~23669

2.00+ Build 130115 released

Related Changesets

LimeSurvey: master 54cb76c8

2013-01-10 00:54

c_schmitz


Details Diff
Fixed issue 07130: Cryptic validation criteria shown in data entry mode Affected Issues
07130
mod - application/controllers/admin/dataentry.php Diff File

Issue History

Date Modified Username Field Change
2013-01-03 02:49 mfaber New Issue
2013-01-03 02:49 mfaber File Added: does_not_compute.gif
2013-01-03 02:50 mfaber File Added: limesurvey_survey_695952.lss
2013-01-03 02:50 mfaber Issue Monitored: mfaber
2013-01-03 09:44 c_schmitz Relationship added duplicate of 06023
2013-01-03 09:45 c_schmitz Status new => closed
2013-01-03 09:45 c_schmitz Assigned To => c_schmitz
2013-01-03 09:45 c_schmitz Resolution open => duplicate
2013-01-03 16:34 mfaber Note Added: 23446
2013-01-03 16:34 mfaber Status closed => feedback
2013-01-03 16:34 mfaber Resolution duplicate => reopened
2013-01-03 18:11 mfaber Note Edited: 23446
2013-01-05 01:02 c_schmitz Note Added: 23466
2013-01-05 01:02 c_schmitz Status feedback => closed
2013-01-05 01:02 c_schmitz Resolution reopened => duplicate
2013-01-05 01:26 mfaber Note Added: 23468
2013-01-05 01:26 mfaber Status closed => feedback
2013-01-05 01:26 mfaber Resolution duplicate => reopened
2013-01-09 01:00 c_schmitz Status feedback => assigned
2013-01-10 00:54 c_schmitz Changeset attached => LimeSurvey master 54cb76c8
2013-01-10 00:54 c_schmitz Note Added: 23599
2013-01-10 00:56 c_schmitz Note Added: 23600
2013-01-10 00:56 c_schmitz Status assigned => resolved
2013-01-10 00:56 c_schmitz Fixed in Version => 2.00+
2013-01-10 00:56 c_schmitz Resolution reopened => fixed
2013-01-15 09:14 c_schmitz Note Added: 23669
2013-01-15 09:14 c_schmitz Status resolved => closed
2021-08-02 17:42 guest Bug heat 4 => 6