View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09814 | Bug reports | Installation | public | 2015-08-05 07:40 | 2015-08-24 12:35 |
| Reporter | fvanderstarre | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05+ | ||||
| Fixed in Version | 2.06+ | ||||
| Summary | 09814: copying array question - only first subquestion and answer option copied | ||||
| Description | I'm using L.S. 2.05+ build 150310 on Linux RHEL 7, PHP 5.4.43. When copying an array type question having multiple subquestions and answer options, only the first ones are copied. I suspect this has something to do with this OS/PHP version combination, because on Linux RHEL 5.5/PHP 5.3.3 it goes OK (same LS build). | ||||
| Steps To Reproduce | Set up survey with array question with multiple subquestions and answers. Copy this question. | ||||
| Additional Information | I changed the relevant code in ../application/controllers/admin/database.php (lines 474 & 496). $r1 = Answer::model()->getAnswers(returnGlobal('oldqid')); This solved the problem in my setup. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 205+ 140915, 150310, 150729 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Any | ||||
| Database type & version | MS SQL server 2008 10.0.5500.0 (X64) | ||||
| Server OS (if known) | DB server: Windows NT 6.1 <X64> build 7601 SP1 | ||||
| Webserver software & version (if known) | Linux RHEL 7, Apache 2.4.6 | ||||
| PHP Version | 5.4.43 | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15725 |
|
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15726 |
|
|
Great catch. Thank you. |
|
|
2.06+ Build 150824 released |
|
|
LimeSurvey: master 7cd31dc0 2015-08-12 14:11 Details Diff |
Fixed issue 09814: When copying a question with subquestion/answer options onlyt the first one is copied |
Affected Issues 09814 |
|
| mod - application/controllers/admin/database.php | Diff File | ||
|
LimeSurvey: develop c295e82e 2015-08-12 14:11 Details Diff |
Fixed issue 09814: When copying a question with subquestion/answer options onlyt the first one is copied |
Affected Issues 09814 |
|
| mod - application/controllers/admin/database.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-08-05 07:40 | fvanderstarre | New Issue | |
| 2015-08-12 14:11 | c_schmitz | Changeset attached | => LimeSurvey master 7cd31dc0 |
| 2015-08-12 14:11 | c_schmitz | Note Added: 32930 | |
| 2015-08-12 14:11 | c_schmitz | Assigned To | => c_schmitz |
| 2015-08-12 14:11 | c_schmitz | Resolution | open => fixed |
| 2015-08-12 14:12 | c_schmitz | Status | new => assigned |
| 2015-08-12 14:12 | c_schmitz | Changeset attached | => LimeSurvey develop c295e82e |
| 2015-08-12 14:12 | c_schmitz | Note Added: 32931 | |
| 2015-08-12 14:12 | c_schmitz | Note Added: 32932 | |
| 2015-08-12 14:12 | c_schmitz | Status | assigned => resolved |
| 2015-08-12 14:12 | c_schmitz | Fixed in Version | => 2.06+ |
| 2015-08-24 12:35 | c_schmitz | Note Added: 32991 | |
| 2015-08-24 12:35 | c_schmitz | Status | resolved => closed |