View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001265 | bareos-core | [All Projects] webui | public | 2020-08-05 13:55 | 2020-08-21 14:35 |
Reporter | devops | Assigned To | arogge | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | Linux | OS | Debian | OS Version | 10 |
Product Version | 19.2.8 | ||||
Fixed in Version | |||||
Summary | 0001265: Filenames with spaces - no "Available versions" in restore dialog + Fix | ||||
Description | Hello, I found a bug in the webui. No "Available versions" are displayed for files with a name containing a space. If you search the file via bconsole, you will find the information. | ||||
Steps To Reproduce | 1. backup a file with space in the filename 2. open webui 3. select restore and "Restore specific file version" 4. select the backuped file | ||||
Additional Information | Workaround: 1. edit /usr/share/bareos-webui/module/Restore/src/Restore/Model/RestoreModel.php 2. change from public function getFileVersions(&$bsock=null, $clientname=null, $pathid=null, $filename=null) { if(isset($bsock)) { $cmd = '.bvfs_versions jobid=0 client='.$clientname.' pathid='.$pathid.' fname=' .$filename; to public function getFileVersions(&$bsock=null, $clientname=null, $pathid=null, $filename=null) { if(isset($bsock)) { $cmd = '.bvfs_versions jobid=0 client='.$clientname.' pathid='.$pathid.' fname="'.$filename .'"'; | ||||
Tags | webui | ||||
bareos-master: impact | |||||
bareos-master: action | |||||
bareos-19.2: impact | |||||
bareos-19.2: action | |||||
bareos-18.2: impact | |||||
bareos-18.2: action | |||||
bareos-17.2: impact | |||||
bareos-17.2: action | |||||
bareos-16.2: impact | |||||
bareos-16.2: action | |||||
bareos-15.2: impact | |||||
bareos-15.2: action | |||||
bareos-14.2: impact | |||||
bareos-14.2: action | |||||
bareos-13.2: impact | |||||
bareos-13.2: action | |||||
bareos-12.4: impact | |||||
bareos-12.4: action | |||||
Can you please open a PR in our github repository with your proposed fix? Thank you! |
|
Done :) https://github.com/bareos/bareos/pull/576 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-05 13:55 | devops | New Issue | |
2020-08-05 13:55 | devops | Tag Attached: webui | |
2020-08-21 12:23 | arogge | Assigned To | => arogge |
2020-08-21 12:23 | arogge | Status | new => feedback |
2020-08-21 12:23 | arogge | Note Added: 0004033 | |
2020-08-21 14:35 | devops | Note Added: 0004034 | |
2020-08-21 14:35 | devops | Status | feedback => assigned |