Bug fix for capture target part II
With the introduction of path placeholders target setting has faced some problems. This change harmonizes the behavior between the Capture, Scheduler, SequenceJob and PlaceholderPath. The following principles have been introduced:
- The currently valid target name is stored in Capture. It can be changed by the Scheduler, by editing the text field in the Capture UI or by loading a SequenceJob.
- If a SequenceJob is loaded and its target is empty, it does not change the current target. This is necessary to avoid that loading a SequenceJob clears the target previously set by the Scheduler when starting a new scheduler job.
- Sanitizing the target name takes place in PlaceholderPath, nowhere else. This makes it obsolete to store the original target/prefix name separately.
Edited by Wolfgang Reissenberger