View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001265 | bareos-core | webui | public | 2020-08-05 13:55 | 2021-04-26 15:47 |
Reporter | devops | Assigned To | arogge | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 10 |
Product Version | 19.2.8 | ||||
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 | ||||
Can you please open a PR in our github repository with your proposed fix? Thank you! |
|
Done :) https://github.com/bareos/bareos/pull/576 |
|
Reporter filed a PR that has been merged. | |
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 |
2021-04-26 15:47 | arogge | Status | assigned => resolved |
2021-04-26 15:47 | arogge | Resolution | open => fixed |
2021-04-26 15:47 | arogge | Note Added: 0004126 | |
2021-04-26 15:47 | arogge | Status | resolved => closed |