View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06347Bug reportsSurvey editingpublic2012-08-06 11:11
ReporterTMSWhite Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC5 
Fixed in Version2.00+ 
Summary06347: display of question text different in 1.92+ and 2.0 when view question in admin mode
Description

1.92+ shows embedded markup (so if a question has a table, one sees the table). 2.0 removes all of that markup

Steps To Reproduce

View question "an" in 1.92+ vs. 2.0.

1.92 shows a complex table for Help. 2.0 does not.

2.0 also isn't properly expanding the reserved 'self' variable, but it is expanding the 'that' variable.

TagsNo tags attached.
Attached Files
qadmin-disp-v192.jpg (82,936 bytes)   
qadmin-disp-v192.jpg (82,936 bytes)   
qadmin-disp-v2.jpg (79,543 bytes)   
qadmin-disp-v2.jpg (79,543 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)120719
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-23 09:54

administrator   ~19925

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

c_schmitz

c_schmitz

2012-07-23 09:55

administrator   ~19926

I have fixed the display issue. The non-expanding self issue seems to be an EM issue. Thomas, can you have a look at this please?

TMSWhite

TMSWhite

2012-08-01 16:29

reporter   ~20104

I'm not seeing a simple solution for this. The root problem seems to be the fact that templatereplace() is called differently in 2.0 than in 1.92 (e.g. 2.0 uses get_defined_vars() to get all active variables and passes them to templatereplace() rather than having it access the variables it needs as needed)

ShowSurveyLogicFile() works fine, so if it has no errors, the survey will run properly even if users see errors on the question display. 1.92 also works fine; so another developer can eventually use those two prototypes to fix this bug.

TMSWhite

TMSWhite

2012-08-01 16:30

reporter   ~20105

I'm not seeing an easy solution to this, so asking if another developer can help.

Mazi

Mazi

2012-08-04 10:35

updater   ~20179

Maybe the boss has some ideas how to fix this, because currently it really looks bad.

c_schmitz

c_schmitz

2012-08-06 11:10

administrator   ~20215

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

Related Changesets

LimeSurvey: Yii 50136588

2012-07-23 00:54:17

c_schmitz

Details Diff
Fixed issue 06347: display of question text different in 1.92+ and 2.0 when view question in admin mode
Dev Partial fix
Affected Issues
06347
mod - application/core/Survey_Common_Action.php Diff File
mod - application/views/admin/survey/Question/questionbar_view.php Diff File

LimeSurvey: Yii 4df6f5f2

2012-08-06 02:10:43

c_schmitz

Details Diff
Fixed issue 06347: display of question text different in 1.92+ and 2.0 when view question in admin mode Affected Issues
06347
mod - application/views/admin/survey/Question/questionbar_view.php Diff File

Issue History

Date Modified Username Field Change
2012-07-19 15:56 TMSWhite New Issue
2012-07-19 15:56 TMSWhite File Added: limesurvey_survey_41614 (1).lss
2012-07-20 22:20 TMSWhite File Added: qadmin-disp-v192.jpg
2012-07-20 22:20 TMSWhite File Added: qadmin-disp-v2.jpg
2012-07-23 09:54 c_schmitz Changeset attached => LimeSurvey Yii 50136588
2012-07-23 09:54 c_schmitz Note Added: 19925
2012-07-23 09:54 c_schmitz Assigned To => c_schmitz
2012-07-23 09:54 c_schmitz Resolution open => fixed
2012-07-23 09:54 c_schmitz Assigned To c_schmitz => TMSWhite
2012-07-23 09:54 c_schmitz Status new => assigned
2012-07-23 09:55 c_schmitz Note Added: 19926
2012-08-01 16:29 TMSWhite Note Added: 20104
2012-08-01 16:29 TMSWhite Assigned To TMSWhite =>
2012-08-01 16:30 TMSWhite Note Added: 20105
2012-08-01 16:30 TMSWhite Status assigned => new
2012-08-04 10:35 Mazi Note Added: 20179
2012-08-04 10:35 Mazi Assigned To => c_schmitz
2012-08-04 10:35 Mazi Status new => assigned
2012-08-06 11:10 c_schmitz Changeset attached => LimeSurvey Yii 4df6f5f2
2012-08-06 11:10 c_schmitz Note Added: 20215
2012-08-06 11:11 c_schmitz Status assigned => closed
2012-08-06 11:11 c_schmitz Fixed in Version => 2.00+
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing