Project

General

Profile

Actions

Bug #7924

closed

User 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

Added by Jonathan CLARKE about 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.


Subtasks 2 (0 open2 closed)

Bug #7869: Add a default value for COPYFILE_STICKY_FOLDER for copyGitFile 2.1ReleasedBenoît PECCATTE2016-02-03Actions
Bug #7925: Several techniques are missing explicit default values for booleans - branch 3.0ReleasedBenoît PECCATTE2016-02-15Actions

Related issues 1 (0 open1 closed)

Copied to Rudder - Bug #7953: Technique "Download a file from the shared folder" is missing a default value for permissions in version >= 1.6ReleasedBenoît PECCATTE2016-02-15Actions
Actions #1

Updated by Jonathan CLARKE about 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Jonathan CLARKE about 8 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
Actions #3

Updated by Jonathan CLARKE about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Jonathan CLARKE about 8 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
Actions #5

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.19, 3.0.14, 3.1.8 and 3.2.1 which were released today.

Actions

Also available in: Atom PDF