View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 13203 | Bug reports | Other | public | 2018-01-18 11:47 | 2018-01-29 16:48 |
| Reporter | Steltek | Assigned To | ollehar | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 3.0.x | ||||
| Fixed in Version | 3.1.x | ||||
| Summary | 13203: Resetting Menu Entry configuration to default fails | ||||
| Description | Action taken Configuration -> Menu entries configuration -> Reset -> Yes, restore default Expected result: Menu entries should get reset to default. Actual result: Empty modal box opens and menu entries are not restored. | ||||
| Steps To Reproduce | Configuration -> Menu entries configuration -> Reset -> Yes, restore default | ||||
| Additional Information | There is a typo in application/models/SurveymenuEntries.php. It references LsDefaultDataSet instead of LsDefaultDataSets. Patch to fix it is attached. | ||||
| Tags | No tags attached. | ||||
| Attached Files | ls.patch (561 bytes)
--- application/models/SurveymenuEntries.php 2018-01-16 12:43:39.000000000 +0100
+++ application/models/SurveymenuEntries.php 2018-01-18 11:31:39.000000000 +0100
@@ -514,7 +514,7 @@
$oDB->createCommand()->truncateTable('{{surveymenu_entries}}');
- $basicMenues = LsDefaultDataSet::getSurveyMenuEntryData();
+ $basicMenues = LsDefaultDataSets::getSurveyMenuEntryData();
foreach ($basicMenues as $basicMenu) {
$oDB->createCommand()->insert("{{surveymenu_entries}}", $basicMenu);
}
| ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 3.0.4+180116 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | unknown/current | ||||
| Server OS (if known) | Debian (unstable) | ||||
| Webserver software & version (if known) | Apache 2.4 | ||||
| PHP Version | 5.6 | ||||
|
hey Steltek: feel free to submit your patch as a Pull Request on our GitHub: |
|
|
This seems fixed already. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-01-18 11:47 | Steltek | New Issue | |
| 2018-01-18 11:47 | Steltek | File Added: ls.patch | |
| 2018-01-22 11:01 |
|
Note Added: 45940 | |
| 2018-01-29 16:46 | ollehar | Assigned To | => ollehar |
| 2018-01-29 16:46 | ollehar | Status | new => assigned |
| 2018-01-29 16:48 | ollehar | Status | assigned => closed |
| 2018-01-29 16:48 | ollehar | Resolution | open => no change required |
| 2018-01-29 16:48 | ollehar | Fixed in Version | => 3.1.x |
| 2018-01-29 16:48 | ollehar | Note Added: 46140 |