View Issue Details

IDProjectCategoryView StatusLast Update
0001445bareos-corebconsolepublic2022-11-10 16:52
Reportermdc Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSCentOSOS Versionstream 8
Product Version21.1.2 
Fixed in Version21.1.3 
Summary0001445: Quotes are missing at the director name on export
DescriptionWhen calling configure export client="Foo" on the console, in the exported file the quotes for the director name are missing.
instant of:
Director {
  Name = "Bareos Director"
this will exported:
Director {
  Name = Bareos Director

As written in the documentation, quotes must be used, when the string contains an space.
TagsNo tags attached.
bareos-master: impactyes
bareos-master: actionfixed
bareos-19.2: impactyes
bareos-19.2: actionnone
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

Relationships

related to 0001433 new Release Bareos 22.0.0 

Activities

bruno-at-bareos

bruno-at-bareos

2022-03-31 10:06

developer   ~0004562

Hello, I'm just confirmed the missing quote on export.
But even if space is allowed in such resource name, we really advise you to avoid them, it will hurt you in lot a situation.
Space in name for example also doesn't work well with autocompletion in bconsole, etc.

It is safer to consider Name = resource as fqdn name using only ascii alphanumeric and .-_ as special characters.


Regards
bruno-at-bareos

bruno-at-bareos

2022-04-25 16:49

developer   ~0004577

PR1171 in progress.
bruno-at-bareos

bruno-at-bareos

2022-05-04 17:10

developer   ~0004590

PR-1171 merged + backport for 21 1173 merged
will appear in next 21.1.3

Issue History

Date Modified Username Field Change
2022-03-31 08:35 mdc New Issue
2022-03-31 10:06 bruno-at-bareos Assigned To => bruno-at-bareos
2022-03-31 10:06 bruno-at-bareos Status new => confirmed
2022-03-31 10:06 bruno-at-bareos Note Added: 0004562
2022-04-25 16:49 bruno-at-bareos Note Added: 0004577
2022-05-04 17:10 bruno-at-bareos Status confirmed => resolved
2022-05-04 17:10 bruno-at-bareos Resolution open => fixed
2022-05-04 17:10 bruno-at-bareos Fixed in Version => 21.1.3
2022-05-04 17:10 bruno-at-bareos bareos-master: impact => yes
2022-05-04 17:10 bruno-at-bareos bareos-master: action => fixed
2022-05-04 17:10 bruno-at-bareos bareos-19.2: impact => yes
2022-05-04 17:10 bruno-at-bareos bareos-19.2: action => none
2022-05-04 17:10 bruno-at-bareos Note Added: 0004590
2022-11-10 16:52 arogge_adm Relationship added related to 0001433