View Issue Details

IDProjectCategoryView StatusLast Update
0000689bareos-core[All Projects] directorpublic2016-08-19 19:25
ReporterfrankAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version16.3.1 
Fixed in Version 
Summary0000689: Interactive job modification not working as expected, resource edits get lost depending on mod order
DescriptionIf you first e.g. modify the pool resource and afterwards modify the level, your pool edit is lost and you have to alter it again.

If you modify resources top-down, level first and then the pool resource, nothing is reset.
Steps To ReproduceRun Backup job
JobName: backup-sheldon
Level: Incremental
Client: sheldon-fd
Format: Native
FileSet: backup-sheldon
Pool: Incremental (From Job IncPool override)
Storage: File (From Job resource)
When: 2016-08-17 17:20:51
Priority: 10

OK to run? (yes/mod/no): mod

Parameters to modify:
     1: Level
     2: Storage
     3: Job
     4: FileSet
     5: Client
     6: Backup Format
     7: When
     8: Priority
     9: Pool
    10: Plugin Options

Select parameter to modify (1-10): 9

The defined Pool resources are:
     1: Tape
     2: Scratch
     3: Incremental
     4: Full
     5: Differential

Select Pool resource (1-5): 1

Run Backup job
JobName: backup-sheldon
Level: Incremental
Client: sheldon-fd
Format: Native
FileSet: backup-sheldon
Pool: Tape (From user input)
Storage: File (From Job resource)
When: 2016-08-17 17:20:51
Priority: 10

OK to run? (yes/mod/no): mod

Parameters to modify:
     1: Level
     2: Storage
     3: Job
     4: FileSet
     5: Client
     6: Backup Format
     7: When
     8: Priority
     9: Pool
    10: Plugin Options

Select parameter to modify (1-10): 1

Levels:
     1: Full
     2: Incremental
     3: Differential
     4: Since
     5: VirtualFull
Select level (1-5): 1

Run Backup job
JobName: backup-sheldon
Level: Full
Client: sheldon-fd
Format: Native
FileSet: backup-sheldon
Pool: Full (From Job FullPool override)
Storage: File (From Job resource)
When: 2016-08-17 17:20:51
Priority: 10
OK to run? (yes/mod/no):
Additional InformationIt's probably a side effect of commit b39591ee493e34c965b03d4f2e24ddd8688391f8 .
TagsNo tags attached.
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

Activities

mvwieringen

mvwieringen

2016-08-19 19:25

developer   ~0002336

Fix committed to bareos master branch with changesetid 6553.

Related Changesets

bareos: master 8063e757

2016-08-19 09:31:07

mvwieringen

Ported: N/A

Details Diff
dird: Resource edits get lost depending on order

When a user gives an explicit pool to use we should not apply any pool
overrides anymore.

Fixes 0000689: Interactive job modification not working as expected,
resource edits get lost depending on mod order
Affected Issues
0000689
mod - src/dird/ua.h Diff File
mod - src/dird/ua_run.c Diff File

Issue History

Date Modified Username Field Change
2016-08-17 18:04 frank New Issue
2016-08-19 19:25 mvwieringen Changeset attached => bareos master 8063e757
2016-08-19 19:25 mvwieringen Note Added: 0002336
2016-08-19 19:25 mvwieringen Status new => resolved
2016-08-19 19:25 mvwieringen Resolution open => fixed