View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09722 | Bug reports | Assessments | public | 2015-06-26 14:33 | 2015-08-21 14:27 |
Reporter | karencheah | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09722: Some core replacement are not updated for hidden group | ||||
Description | I have setup an equation type question to calculate the score of the assessment to be displayed at the end. While testing, with the equation type question visible, the score is displayed at the end. Once I hide the equation type question, the score is not recorded anymore, even in the response record; it's zero. | ||||
Steps To Reproduce | Setup survey with 2 question groups. First group contains the questions. Second group contains the equation to calculate the score. The survey is presented group by group with assessment mode enabled. Test the survey with the equation type question visible to see that the score is calculated. Hide the equation type question and the score is not calculated/recorded. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 150619 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Safari 7.1.6 | ||||
Database type & version | MySQL 5.6.23 | ||||
Server OS (if known) | Unix | ||||
Webserver software & version (if known) | cpsrvd 11.50.0.20 | ||||
PHP Version | 5.4 | ||||
Ok, it's a bug on {ASSESSMENT_CURRENT_TOTAL} Use round(sum(M001.valueNAOK, M002.valueNAOK) / 2 * 100, 2) work But all assessment edit system seems broken actually (config=2 show a lot of error) |
|
It's for some core replacement : set at starting (force in LimeExpressionManager::StartSurvey() ) but not updated for "hidden equation" Happen for:
A lot of dev , need a specific function only for Equation question type. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15518 |
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15519 |
|
Version 2.06+ Build 150629 released. |
|
LimeSurvey: master 966da434 2015-06-28 20:11 Details Diff |
Fixed issue 09722: Some core replacement in equation are not updated for hidden group Dev: templatereplace for ASSESSMENT_CURRENT_TOTAL and maybe some other Dev: replacementArray for QID/GID/SGQ, really think other question part are not needed (we don't render Question then no beforeRenderQuestion event) |
Affected Issues 09722 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
LimeSurvey: develop 1aa7c920 2015-06-28 20:14 Details Diff |
Fixed issue 09722: Some core replacement in equation are not updated for hidden group Dev: templatereplace for ASSESSMENT_CURRENT_TOTAL and maybe some other Dev: replacementArray for QID/GID/SGQ, really think other question part are not needed (we don't render Question then no beforeRenderQuestion event) Dev: more to keep the issue to be fixed in ls3 |
Affected Issues 09722 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-26 14:33 | karencheah | New Issue | |
2015-06-26 14:33 | karencheah | File Added: limesurvey_survey_268184.lss.xml | |
2015-06-26 22:55 | c_schmitz | Assigned To | => DenisChenu |
2015-06-26 22:55 | c_schmitz | Status | new => assigned |
2015-06-27 00:23 | DenisChenu | Note Added: 32533 | |
2015-06-27 00:28 | DenisChenu | Note Edited: 32533 | |
2015-06-27 00:31 | DenisChenu | Note Edited: 32533 | |
2015-06-27 10:59 | DenisChenu | Summary | Hidden equation type question does not work => Some core replacement are not updated for hidden group |
2015-06-27 11:05 | DenisChenu | Note Added: 32534 | |
2015-06-28 20:11 | DenisChenu | Changeset attached | => LimeSurvey master 966da434 |
2015-06-28 20:11 | DenisChenu | Note Added: 32537 | |
2015-06-28 20:11 | DenisChenu | Resolution | open => fixed |
2015-06-28 20:14 | DenisChenu | Changeset attached | => LimeSurvey develop 1aa7c920 |
2015-06-28 20:14 | DenisChenu | Note Added: 32538 | |
2015-06-28 20:15 | DenisChenu | Status | assigned => resolved |
2015-06-28 20:15 | DenisChenu | Fixed in Version | => 2.06+ |
2015-06-29 11:11 | c_schmitz | Note Added: 32543 | |
2015-06-29 11:11 | c_schmitz | Status | resolved => closed |
2015-08-21 14:27 | Mazi | Status | closed => feedback |
2015-08-21 14:27 | Mazi | Resolution | fixed => reopened |
2015-08-21 14:27 | Mazi | File Deleted: limesurvey_survey_268184.lss.xml | |
2015-08-21 14:27 | Mazi | Status | feedback => closed |
2015-08-21 14:27 | Mazi | Resolution | reopened => fixed |