View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 04920 | Bug reports | Survey taking | public | 2011-02-02 14:17 | 2011-02-17 18:25 |
| Reporter | Mazi | Assigned To | lemeur | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91RC3 | ||||
| Fixed in Version | 1.91RC4 | ||||
| Summary | 04920: Notice when using INSERTANS placeholders and "all-in-one" survey format | ||||
| Description | When using INSERTANS placeholders to display the result of a previous answer at another question, there is a warning in all-in-one mode. Of course it isn't possible to use placeholders in all-in-one mode but we should remove the warnings: Notice: Undefined index: sid in C:\xampp\htdocs\limeSOURCE\limesurvey_current\classes\dTexts\dFunctions\dFunctionInsertAns.php on line 14 Notice: Undefined index: srid in C:\xampp\htdocs\limeSOURCE\limesurvey_current\classes\dTexts\dFunctions\dFunctionInsertAns.php on line 13 Notice: Undefined index: sid in C:\xampp\htdocs\limeSOURCE\limesurvey_current\classes\dTexts\dFunctions\dFunctionInsertAns.php on line 14 | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 9715 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 3.6 | ||||
| Database type & version | MySQL 5 | ||||
| Server OS (if known) | Win 7 | ||||
| Webserver software & version (if known) | Apache 2.2 | ||||
| PHP Version | 5.3.1 | ||||
| Git branch / Pull Request URL | |||||
|
Can't reproduce. Could it be because of the INSERTANS import bug which was fixed ? |
|
|
I don't think so, even with correct INSERTANS the warning is shown. Did you take care of "there is a warning in all-in-one mode" -> Did you switch the survey to all-in-one mode? |
|
|
yes I did, in fact it is already set to all-in-one. However Carsten did add a if_isset check in rev 9770. This should fix part of the issue. I still don't understand why I can't see the other issue you're having. Anyway, I fixed something in rev 9777. Can you try ? |
|
|
Problem seems to be fixed, there are no more notices. Fixed at rev. 9777, thanks to Thibault. |
|
|
1.91RC4 released |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-02-02 14:17 | Mazi | New Issue | |
| 2011-02-02 14:17 | Mazi | Status | new => assigned |
| 2011-02-02 14:17 | Mazi | Assigned To | => lemeur |
| 2011-02-02 14:17 | Mazi | File Added: limesurvey_survey_63248.lss | |
| 2011-02-09 00:43 | lemeur | Note Added: 14097 | |
| 2011-02-09 00:43 | lemeur | Status | assigned => feedback |
| 2011-02-09 01:32 | Mazi | Note Added: 14100 | |
| 2011-02-09 01:32 | Mazi | Status | feedback => assigned |
| 2011-02-12 08:57 | lemeur | Note Added: 14169 | |
| 2011-02-12 08:57 | lemeur | Status | assigned => feedback |
| 2011-02-12 14:00 | Mazi | Note Added: 14181 | |
| 2011-02-12 14:00 | Mazi | Status | feedback => assigned |
| 2011-02-12 14:00 | Mazi | Status | assigned => resolved |
| 2011-02-12 14:00 | Mazi | Fixed in Version | => 1.91RC4 |
| 2011-02-12 14:00 | Mazi | Resolution | open => fixed |
| 2011-02-17 18:25 | c_schmitz | Note Added: 14216 | |
| 2011-02-17 18:25 | c_schmitz | Status | resolved => closed |