View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06450Bug reportsConditionspublic2012-08-09 16:00
Reporterabita1 Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.00RC8 
Summary06450: Saving a Q with pasted relevence creates value in old Format in Edit Box
Description

While editing a survey imported from an LSS file (issue 6325), I somehow had deleted the Q02 relevance equation. I copied the value from a re-import, as found in the QA

((Q01.NAOK == "1" or Q01.NAOK == "2" or Q01.NAOK == "3"))

I pasted that value into the empty relevance box, and saved.

Instead of showing an EM, with the color codes, that box shows this value on reediting:

((365561X38X193.NAOK == "1" or 365561X38X193.NAOK == "2" or 365561X38X193.NAOK == "3"))

That style shows for all relevance in the edit field of any question I edit. I expected it to show the EM value, and not the SQSA [sic] value style.

This expectation does occur for the GroupEdit of relevance

Additional Information

Using 200RC8; same behavior in 192+ as to questions

Is this expected/intended? With the new EM, why include the old style reference in the relevance edit box for a -question-?

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120803
I will donate to the project if issue is resolvedNo
BrowserFireFox 14
Database type & versionMySQL
Server OS (if known)Win
Webserver software & version (if known)XAMPP
PHP Version5.4?
Git branch / Pull Request URL

Users monitoring this issue

abita1

Activities

TMSWhite

TMSWhite

2012-08-08 07:03

reporter   ~20270

Did that question have conditions? If so, the default behavior is to show the SGQA naming for relevance equations that are auto-generated from Conditions.

The reason for this are:
(1) If you have existing conditions for a question, anything you enter in the relevance equation gets ignored anyway (well, gets over-written by the auto-generated equations from the conditions
(2) When people use conditions, they are not required to have valid qcode variable names like 'Q01'. This might have several questions with the same name, or with invalid characters. So, by showing the SGQA variable name, it avoids confusion. When you are out of edit mode, it will show the color-coded equation.

abita1

abita1

2012-08-08 14:44

reporter   ~20280

Last edited: 2012-08-08 21:47

Interesting point, Tom.... While I had remembered that (1)(2) detail generally, I hadn't focused on that.

My error in understanding: the LSS file, as downloaded, had conditions, which improves my understanding of the behavior I encountered.

That leaves the conundrum of a blank relevance entry; and I can't decipher why it occurred.

For some reason, the condition/relevance equation was not shown [not calculated?]. Entering my relevance value, I guess, and moving in/out of edit did nothing except inspire LS to refresh the entry from the stored conditions....?

If/when I can figure out why the survey, after import and amendment, was acting up, maybe I can offer some other facts to enunciate the bug.

abita1

abita1

2012-08-08 21:50

reporter   ~20291

Thanks, Tom....

I would recommend closing this issue, until I decipher what's going on in/around 6325...

TMSWhite

TMSWhite

2012-08-09 16:00

reporter   ~20315

per Reporter, this issue can be closed.

Issue History

Date Modified Username Field Change
2012-08-08 03:23 abita1 New Issue
2012-08-08 07:03 TMSWhite Note Added: 20270
2012-08-08 07:03 TMSWhite Status new => feedback
2012-08-08 14:44 abita1 Note Added: 20280
2012-08-08 14:44 abita1 Status feedback => new
2012-08-08 14:54 abita1 Note Edited: 20280
2012-08-08 16:03 abita1 Note Edited: 20280
2012-08-08 16:04 abita1 Issue Monitored: abita1
2012-08-08 16:19 c_schmitz Assigned To => TMSWhite
2012-08-08 16:19 c_schmitz Status new => assigned
2012-08-08 21:47 abita1 Note Edited: 20280
2012-08-08 21:50 abita1 Note Added: 20291
2012-08-09 16:00 TMSWhite Note Added: 20315
2012-08-09 16:00 TMSWhite Status assigned => closed
2012-08-09 16:00 TMSWhite Resolution open => no change required