View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08032 | Bug reports | Expression Manager | public | 2013-07-22 18:58 | 2013-10-07 16:55 |
| Reporter | ARamirez | Assigned To | c_schmitz | ||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.00+ | ||||
| Summary | 08032: Equation results are errased when editing survey resulting in data loss | ||||
| Description | If we have a survey with equations that are sum of the previous questions, and we return with same token to edit a survey entry, the equation value is saved as zero, no matter what options are selected, so the data of the equation is lost. | ||||
| Steps To Reproduce | Steps to reproduce: I. Make a survey with three questions: II. Fill a survey answering "A" option for the two questions, the result of Q3 will be recorded as 10 III. Open again the survey entry from the client side with same token, the answers are still there (A,A), and wether you change them, select them again or do nothing, after saving the survey the result of Q3 is set to zero. | ||||
| Additional Information | Tried in LS Versión 2.00+ Build 130708, happens with Explorer, Chrome and Firefox. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 130708 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | Explorer, Chrome and Firefox. | ||||
| Database type & version | 5.1.70-cll | ||||
| Server OS (if known) | linux x86_64 | ||||
| Webserver software & version (if known) | Apache 2.2.23 | ||||
| PHP Version | PHP 5.2.17 | ||||
| Git branch / Pull Request URL | |||||
|
Can you trye sum(Q1.value,Q2.value) <q>Note, for consistency between JavaScript and PHP, the plus operator (+) does addition if both operands are numeric, but does concatenation if both parts are non-numeric strings. However, we recommend using the join() function for concatenation, as that makes your intent more clear, and avoids unexpected results if you were expecting strings but got numbers instead (or vice versa). </q> |
|
|
Please attach a small 3 question sample survey demonstrating the problem. Thank you. |
|
|
Feedback please? |
|
|
Closed due to missing feedback. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-07-22 18:58 | ARamirez | New Issue | |
| 2013-08-22 20:03 | DenisChenu | Note Added: 26051 | |
| 2013-09-13 10:51 | c_schmitz | Note Added: 26216 | |
| 2013-09-13 10:51 | c_schmitz | Assigned To | => c_schmitz |
| 2013-09-13 10:51 | c_schmitz | Status | new => feedback |
| 2013-09-27 23:34 | c_schmitz | Note Added: 26409 | |
| 2013-10-07 16:55 | c_schmitz | Note Added: 26599 | |
| 2013-10-07 16:55 | c_schmitz | Status | feedback => closed |
| 2013-10-07 16:55 | c_schmitz | Resolution | open => unable to reproduce |