View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06347 | Bug reports | Survey editing | public | 2012-07-19 15:56 | 2012-08-06 11:11 |
Reporter | TMSWhite | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00RC5 | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06347: 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. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 120719 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mysql 5.3 | ||||
Server OS (if known) | Windows XP | ||||
Webserver software & version (if known) | XAMPP | ||||
PHP Version | 5.3 | ||||
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9098 |
|
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? |
|
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. |
|
I'm not seeing an easy solution to this, so asking if another developer can help. |
|
Maybe the boss has some ideas how to fix this, because currently it really looks bad. |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9243 |
|
LimeSurvey: Yii 50136588 2012-07-23 00:54:17 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 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 |
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 |