View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04867 | Bug reports | Other | public | 2011-01-13 16:03 | 2011-01-26 22:11 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | normal | Severity | tweak | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 1.90 | ||||
| Summary | 04867: Replacement Fields return incorrect answers | ||||
| Description | When having a multiple choice question say question 345 in group 45 and surver 11111 with following answers 1 – Text_A Then the corresponding SQKA identifiers would be {INSERTANS: 11111X45X3451} When calling them in a question on the next page provided I selected ‘Text_D’ it would return say {INSERTANS: 11111X45X3451} = > ‘Text_C’ ( or some other random options ) Random answers seem to popup on different SQKA identifiers. Depending on the number of answers. | ||||
| Steps To Reproduce | It wasn't happening until I increased the number of groups to 37. number of answers in the question from which I want to retrieve the values = 19 | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 9487 | ||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
|
Can you attach a sample survey please where this problem occurs? Also which build number of LimeSUrvey 1.90 are you using? |
|
|
I have managed to pinpoint the line responsible for this behaviour. In common.php LINE 6125 while($row=$result->FetchRow()) The correct answers are returned by the 'elseif' statement. The 'if' statement returns the random ones. Limesurvey build number is 9487. If I wont figure it out I will try to post the survey. Thanks |
|
|
New lead: The answers are not random. The line seems to return wrong codes in the following way. Whenever we have answers with codes say 1 to 66. {INSERTANS: 11111X45X3451} and we answered ( ticked ) value for : {INSERTANS: 11111X45X34534} It will say As if code 34 and 3 were both selected. So for some reason it takes the 1st digit from the code. |
|
|
Try the following: Update to the latest 1.90 version first. (yours is not the latest yet). If you survey is active, deactivate it, then activate it. Tell me if it complains during activation. |
|
|
Closed due to missing feedback. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-01-13 16:03 |
|
New Issue | |
| 2011-01-13 23:53 | c_schmitz | Project | @2@ => Bug reports |
| 2011-01-13 23:54 | c_schmitz | Note Added: 13908 | |
| 2011-01-13 23:54 | c_schmitz | Assigned To | => c_schmitz |
| 2011-01-13 23:54 | c_schmitz | Status | new => feedback |
| 2011-01-13 23:54 | c_schmitz | Note Edited: 13908 | |
| 2011-01-14 10:44 |
|
Note Added: 13909 | |
| 2011-01-14 10:44 |
|
Status | feedback => assigned |
| 2011-01-14 10:48 |
|
Note Edited: 13909 | |
| 2011-01-14 11:21 |
|
Note Added: 13910 | |
| 2011-01-14 21:02 | c_schmitz | Note Added: 13919 | |
| 2011-01-14 21:02 | c_schmitz | Status | assigned => feedback |
| 2011-01-26 22:11 | c_schmitz | Note Added: 13978 | |
| 2011-01-26 22:11 | c_schmitz | Status | feedback => closed |
| 2011-01-26 22:11 | c_schmitz | Resolution | open => unable to reproduce |
| 2021-03-08 20:08 | c_schmitz | Category | Survey at runtime => (No Category) |