View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000493 | bareos-core | webui | public | 2015-07-08 11:02 | 2017-06-08 16:31 |
Reporter | master_volkov | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 6 |
Summary | 0000493: On Restore form unable select jobid, client and fileset | ||||
Description | On current 'experimental/nightly/CentOS_6' ( as master 'fa91388fee'). When i try restore on "Restore form" all combobox is empty. Is it my improper installation or I missed something, but (in my case) when i apply my patch from attach - all combobox have proper content. | ||||
Steps To Reproduce | I install stable version bareos='release/14.2' and webui=bareos-webui-14.2.1. Update they to 'experimental/nightly' | ||||
Tags | No tags attached. | ||||
fix_restore_form_empty.patch (959 bytes)
--- module/Restore/src/Restore/Form/RestoreForm.php_old 2015-07-08 11:53:58.428290178 +0300 +++ module/Restore/src/Restore/Form/RestoreForm.php 2015-07-08 11:54:53.088213122 +0300 @@ -222,7 +222,7 @@ $selectData = array(); if(!empty($this->jobs)) { foreach($this->jobs as $job) { - $selectData[$job['jobid']] = $job['jobid']; + $selectData[$job['JobId']] = $job['JobId']; } } return $selectData; @@ -236,7 +236,7 @@ $selectData = array(); if(!empty($this->clients)) { foreach($this->clients as $client) { - $selectData[$client['name']] = $client['name']; + $selectData[$client['Name']] = $client['Name']; } } return $selectData; @@ -250,7 +250,7 @@ $selectData = array(); if(!empty($this->filesets)) { foreach($this->filesets as $fileset) { - $selectData[$fileset['fileset']] = $fileset['fileset']; + $selectData[$fileset['FileSet']] = $fileset['FileSet']; } } return $selectData; |
|
Do you have MySQL for the catalog database in use? | |
Yes, i use mysql db backend | |
Fix committed to bareos master branch with changesetid 5453. | |
bareos: master 8b033a3d 2015-07-08 18:18 Committer: mvwieringen Ported: N/A Details Diff |
JSON: write all keys in lower case Postgresql and MySQL use different cases for database tables (lower case vs. CamelCase). To prevent problems, the JSON output converts all keys to lowercase. Fixes 0000493: bareos-webui with MySQL |
Affected Issues 0000493 |
|
mod - src/lib/mem_pool.c | Diff File | ||
mod - src/lib/mem_pool.h | Diff File | ||
mod - src/lib/output_formatter.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-08 11:02 | master_volkov | New Issue | |
2015-07-08 11:02 | master_volkov | Status | new => assigned |
2015-07-08 11:02 | master_volkov | Assigned To | => frank |
2015-07-08 11:02 | master_volkov | File Added: fix_restore_form_empty.patch | |
2015-07-08 11:41 | frank | Note Added: 0001781 | |
2015-07-08 12:25 | master_volkov | Note Added: 0001782 | |
2015-07-08 15:58 | frank | Status | assigned => confirmed |
2015-07-27 16:20 | mvwieringen | Changeset attached | => bareos master 8b033a3d |
2015-07-27 16:20 | mvwieringen | Note Added: 0001791 | |
2015-07-27 16:20 | mvwieringen | Status | confirmed => resolved |
2015-07-27 16:20 | mvwieringen | Resolution | open => fixed |
2017-06-08 16:31 | frank | Status | resolved => closed |
2017-06-08 16:31 | frank | Assigned To | frank => |