Project

General

Profile

Actions

Bug #18556

closed

Global parameters format is not preserved when editing

Added by I C over 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

Hi,

When editing an existing global parameters in json format, the format is not preserve in the editing form and may lead to error if we change only the value and save without setting up the format again. After saving the format become string by default and can lead to error where the parameters is used for like in jinja templating.

Step to reproduce:

- create a global parameter in JSON format, save
- in the list of parameters, click on "edit" button for the one just created,

=> format is "string" in place of "json"


Subtasks 1 (0 open1 closed)

Bug #18831: JSON format is not kept in global parameterRejectedFrançois ARMANDActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #17325: We can't choose between string and json for global parametersReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND over 3 years ago

  • Description updated (diff)
  • Assignee set to François ARMAND
  • Target version set to 6.1.7
Actions #2

Updated by François ARMAND over 3 years ago

  • Related to Bug #17325: We can't choose between string and json for global parameters added
Actions #3

Updated by François ARMAND over 3 years ago

  • Status changed from New to In progress
Actions #4

Updated by François ARMAND over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/3422
Actions #5

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.7 to 6.1.8
Actions #6

Updated by François ARMAND about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by François ARMAND about 3 years ago

  • Fix check changed from To do to Error - Blocking

It is still not working with that PR.

Actions #8

Updated by François ARMAND about 3 years ago

  • Fix check changed from Error - Blocking to Checked
Actions #9

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.8 and 6.2.1 which were released today.

Actions

Also available in: Atom PDF