View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06102 | Bug reports | Survey taking | public | 2012-05-16 16:42 | 2012-05-17 10:27 |
| Reporter | TMSWhite | Assigned To | TMSWhite | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.92+ | ||||
| Fixed in Version | 1.92+ | ||||
| Summary | 06102: "Print your answers" shows EM syntax errors | ||||
| Description | In Sample Census survey, if have more then 1 co-habitant, those above 1 are shown with syntax errors on "print your answers", but not during survey taking. | ||||
| Additional Information | Root cause is LimeExpressionManager.php (7178) - does recursive call to $this->ProcessString() from within GetVarAttribute() when trying to do dynamic substitution of answer values. This messes up local state. This should be handled by using higher recursion level instead. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 120509 | ||||
| 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 | ||||
| Git branch / Pull Request URL | |||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8495 |
|
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8496 |
|
|
New 1.92+ version released. |
|
|
LimeSurvey: master c01f90b5 2012-05-16 12:22 Details Diff |
Fixed issue 06102: "Print your answers" shows EM syntax errors Dev had to fix issue 06075 in a different way to solve this issue: Needed to do 3-deep recursive replacement instead of 2-deep recursion. |
Affected Issues 06075, 06102 |
|
| mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
| mod - replacements.php | Diff File | ||
|
LimeSurvey: Yii 7092bfda 2012-05-16 12:27 Details Diff |
Fixed issue 06102: "Print your answers" shows EM syntax errors Dev had to fix issue 06075 in a different way to solve this issue: Needed to do 3-deep recursive replacement instead of 2-deep recursion. |
Affected Issues 06075, 06102 |
|
| mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
| mod - application/helpers/replacements_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-05-16 16:42 | TMSWhite | New Issue | |
| 2012-05-16 16:42 | TMSWhite | Status | new => assigned |
| 2012-05-16 16:42 | TMSWhite | Assigned To | => TMSWhite |
| 2012-05-16 19:21 | TMSWhite | Relationship added | related to 06075 |
| 2012-05-16 19:23 | TMSWhite | Changeset attached | => LimeSurvey master c01f90b5 |
| 2012-05-16 19:23 | TMSWhite | Note Added: 18790 | |
| 2012-05-16 19:23 | TMSWhite | Resolution | open => fixed |
| 2012-05-16 19:28 | TMSWhite | Changeset attached | => LimeSurvey Yii 7092bfda |
| 2012-05-16 19:28 | TMSWhite | Note Added: 18792 | |
| 2012-05-16 19:29 | TMSWhite | Status | assigned => resolved |
| 2012-05-16 19:29 | TMSWhite | Fixed in Version | => 1.92+ |
| 2012-05-17 10:27 | c_schmitz | Note Added: 18810 | |
| 2012-05-17 10:27 | c_schmitz | Status | resolved => closed |