View Issue Details

IDProjectCategoryView StatusLast Update
0001265bareos-core[All Projects] webuipublic2020-08-21 14:35
ReporterdevopsAssigned Toarogge 
Status assignedResolutionopen 
PlatformLinuxOSDebianOS Version10
Product Version19.2.8 
Fixed in Version 
Summary0001265: Filenames with spaces - no "Available versions" in restore dialog + Fix

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 Reproduce1. 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 InformationWorkaround:

1. edit /usr/share/bareos-webui/module/Restore/src/Restore/Model/RestoreModel.php
2. change


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;


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 .'"';
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




2020-08-21 12:23

developer   ~0004033

Can you please open a PR in our github repository with your proposed fix?
Thank you!


2020-08-21 14:35

reporter   ~0004034

Done :)

Issue History

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