Bug #7924
closedUser story #4293: Migrating from a Technique version to another one in a Directive is long and painful
Several techniques are missing explicit default values for booleans
Description
Given the implementation of boolean options in Rudder directives (a simple checkbox), any Technique variables that are booleans have an "implicit" default value of "false", which is particularly important in the case of migrations.
See #4293 for details of why most users will just click through directive technique version migrations.
Since this default is generally accepted (and some cases where it's not a good idea do already include an explicit default of "true"), and should be harmless in a majority of cases, we should make this explicit. This will greatly aid in migrations once #7872 is implemented.
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from New to In progress
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/866
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|33666b32da25b9d1a474ff66f2d2c6da4d7f69eb.
Updated by Jonathan CLARKE almost 9 years ago
- Copied to Bug #7953: Technique "Download a file from the shared folder" is missing a default value for permissions in version >= 1.6 added
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released