View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05686 | Bug reports | Conditions | public | 2012-01-24 15:05 | 2012-03-14 21:08 |
Reporter | jpbacker | Assigned To | TMSWhite | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92RC2 | ||||
Fixed in Version | 1.92RC3 | ||||
Summary | 05686: Dynamic Image with Expression Manager (SPAN problem) | ||||
Description | Hello, I would like to create a dynamic image based on previous answers. I have a problem with the SPAN codes which are placed automatically via the expression manager. For example, i've asked your age. Now i want to show your age as a image. So i inserted the following code: <img scr=images/{age}.jpg>. The problem is that the expression manager puts a SPAN before the value. So the value looks like this: <span id='LEMtailor_Q_207_33'>3</span> and my result image looks like: <img scr=images/<span id='LEMtailor_Q_207_33'>3</span>.jpg>. I've also tried it via {INSERTANS:3763X24X206} but that gives the same problem. Is there a solutions for this problem? Thank you in advance! | ||||
Steps To Reproduce |
| ||||
Additional Information | Please assign it to developer "TMSWhite" | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 19.2 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Safari & Firefox | ||||
Database type & version | SQL 5.1.49 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache 2.0 Handler | ||||
PHP Version | PHP/5.3.3-7+squeeze3 | ||||
Dear TMSWhite, Thank you for your feedback. I've downloaded the new ExpressionManager.php. But the new version still has the current problem with dynamic images (or i'm doing something wrong; also very possible). I've made a -workaround- with my limited PHP knowledge by editing line 1939. CURRENT NEW |
|
I'm working on a permanent fix for this as we speak. |
|
Fixed in revision 12187 |
|
Thank you very much! |
|
1.92RC3 released |
|
LimeSurvey: Yii fde20447 2012-01-24 12:00:39 Details Diff |
Fixed issue 05686: Dynamic Image with Expression Manager (SPAN problem) Dev Expressions that are only comprised solely of off-screen variables will be statically substituted (e.g. not use a <span> tag) git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12188 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05686 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-24 15:05 | jpbacker | New Issue | |
2012-01-24 15:05 | jpbacker | Status | new => assigned |
2012-01-24 15:05 | jpbacker | Assigned To | => lemeur |
2012-01-24 15:08 | tpartner | Assigned To | lemeur => TMSWhite |
2012-01-24 19:45 | jpbacker | Note Added: 16949 | |
2012-01-24 20:32 | TMSWhite | Note Added: 16950 | |
2012-01-24 20:58 | TMSWhite | Note Added: 16952 | |
2012-01-24 20:58 | TMSWhite | Status | assigned => resolved |
2012-01-24 20:58 | TMSWhite | Resolution | open => fixed |
2012-01-24 21:46 | c_schmitz | Fixed in Version | => 1.92RC3 |
2012-01-25 15:15 | jpbacker | Note Added: 16972 | |
2012-01-30 18:41 | c_schmitz | Note Added: 17063 | |
2012-01-30 18:41 | c_schmitz | Status | resolved => closed |
2012-02-08 21:23 | TMSWhite | Relationship added | related to 05785 |
2012-03-14 21:08 | TMSWhite | Changeset attached | => Import 2012-03-09 13:30:34 Yii fde20447 |