View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06319 | Bug reports | Survey editing | public | 2012-07-11 20:49 | 2012-08-16 10:35 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.92+ | ||||
| Fixed in Version | 2.00RC9 | ||||
| Summary | 06319: Previewing group can throw error | ||||
| Description | If you preview a group just after create it (and some question), then you have a error page: Notice: Undefined index: language in /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php on line 1666 Notice: Undefined index: usecaptcha in /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php on line 1673 Notice: Undefined index: language in /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php on line 2010 Notice: Undefined index: name in /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/replacements.php on line 735 This survey does not yet have any questions and cannot be tested or completed. For further information please contact () | ||||
| Steps To Reproduce | Create a survey Click on the preview icon | ||||
| Additional Information | Think it's best to allways call $force_refresh in create filed map and Expression Manager for preview group Maybe we can set dirty flags if previewgroup is set ? | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 120711 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | FF12 | ||||
| Database type & version | Mysql 5 | ||||
| Server OS (if known) | debian/linux | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | PHP Version 5.3 | ||||
|
We have already SetDirtyFlag() in database for insertquestion. Thene there are another session cache before EM. Denis |
|
|
I can't reproduce this. I'm creating a survey in English with English admin mode. Please attach a sample survey that demonstrates this problem. |
|
|
Importing a survey don't do the bug. I test again:
If i click on preview question and after preview group : it's OK. Maybe it's session name ? <code> Notice: Undefined index: name in /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/replacements.php on line 736 This survey does not yet have any questions and cannot be tested or completed. For further information please contact () </code> |
|
|
I've tried following the directions several times and cannot reproduce the problem. Can anyone else reproduce this? |
|
|
I can't reproduce, either, but note that Bug 6426 [see description] has a similar quirky cure path. |
|
|
Hello, Think it's a bad $_SESSION['s_lang']: 1st : just open Your browser (don't don anything before) Launch preview group: Mazi : can you test in de please ? (After : you can give to me) |
|
|
Denis, can you attach your test survey so I will use the same survey settings. I will then delete all groups and create a new one as suggested for testing. |
|
|
It's not for A survey, it's for whole survey. Admin lang !='en' Then see the error. But i found it ;) |
|
|
Commits: |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9322 |
|
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9323 |
|
|
LimeSurvey: master 188bdc7e 2012-08-10 18:17 Details Diff |
Dev: Fix 06319 : Use existing function |
Affected Issues 06319 |
|
| mod - common_functions.php | Diff File | ||
|
LimeSurvey: Yii ce962efd 2012-08-10 18:43 Details Diff |
Dev : Fix 06319 ( language are not set under some condition) Use existing function |
Affected Issues 06319 |
|
| mod - application/helpers/frontend_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-07-11 20:49 | DenisChenu | New Issue | |
| 2012-07-18 15:26 | c_schmitz | Assigned To | => TMSWhite |
| 2012-07-18 15:26 | c_schmitz | Status | new => assigned |
| 2012-07-20 12:29 | DenisChenu | Note Added: 19870 | |
| 2012-08-03 05:08 | TMSWhite | Note Added: 20121 | |
| 2012-08-03 05:08 | TMSWhite | Assigned To | TMSWhite => |
| 2012-08-03 05:08 | TMSWhite | Status | assigned => feedback |
| 2012-08-03 11:23 | DenisChenu | Note Added: 20124 | |
| 2012-08-03 11:23 | DenisChenu | Status | feedback => new |
| 2012-08-04 12:21 | Mazi | Assigned To | => TMSWhite |
| 2012-08-04 12:21 | Mazi | Status | new => assigned |
| 2012-08-04 13:28 | TMSWhite | Note Added: 20187 | |
| 2012-08-04 13:28 | TMSWhite | Assigned To | TMSWhite => |
| 2012-08-04 13:28 | TMSWhite | Status | assigned => feedback |
| 2012-08-06 14:48 | abita1 | Note Added: 20225 | |
| 2012-08-10 15:16 | DenisChenu | Note Added: 20341 | |
| 2012-08-10 15:16 | DenisChenu | Status | feedback => new |
| 2012-08-10 15:16 | DenisChenu | Assigned To | => Mazi |
| 2012-08-10 15:16 | DenisChenu | Status | new => assigned |
| 2012-08-10 15:16 | DenisChenu | Note Edited: 20341 | |
| 2012-08-10 16:16 | Mazi | Note Added: 20343 | |
| 2012-08-10 16:52 | DenisChenu | Note Added: 20344 | |
| 2012-08-10 16:53 | DenisChenu | Note Edited: 20344 | |
| 2012-08-10 16:57 | DenisChenu | Note Added: 20345 | |
| 2012-08-10 16:57 | DenisChenu | Status | assigned => resolved |
| 2012-08-10 16:57 | DenisChenu | Fixed in Version | => 1.92+ |
| 2012-08-10 16:57 | DenisChenu | Resolution | open => fixed |
| 2012-08-10 16:57 | DenisChenu | Assigned To | Mazi => DenisChenu |
| 2012-08-10 17:20 | abita1 | Issue Monitored: abita1 | |
| 2012-08-11 01:20 | DenisChenu | Changeset attached | => LimeSurvey master 188bdc7e |
| 2012-08-11 01:20 | DenisChenu | Note Added: 20351 | |
| 2012-08-11 01:46 | DenisChenu | Changeset attached | => LimeSurvey Yii ce962efd |
| 2012-08-11 01:46 | DenisChenu | Note Added: 20352 | |
| 2012-08-16 10:35 | c_schmitz | Fixed in Version | 1.92+ => 2.00RC9 |
| 2012-08-16 10:35 | c_schmitz | Status | resolved => closed |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
| 2021-08-02 20:53 | guest | Bug heat | 8 => 10 |