Project

General

Profile

Actions

Bug #15419

closed

Tags are not properly set when changing only value field before new insertion

Added by I C over 4 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
54
Name check:
To do
Fix check:
Checked
Regression:

Description

Hi,

When adding multiple tags on a directive with the same key we just change the value field before new tag insertion but in this case rudder only store de "= value" and not the "key = value" and an error is raise when saving.

There was problem with your request.
Error when updating directive a71fbfe8-06b2-4030-8e22-97420062c1d7 tag <- Invalid JSON serialization for Tags JArray(List(JObject(List(JField(key,JString(ref)), JField(value,JString(1)))), JObject(List(JField(key,JString(ref)), JField(value,JString(2)))), JObject(List(JField(key,JString(refsec)), JField(value,JString(cis)))), JObject(List(JField(key,JString(ref)), JField(value,JString(3)))), JObject(List(JField(value,JString(4)))), JObject(List(JField(value,JString(5)))))) <- parameter key cannot be empty <- parameter cannot be emp

PS : we change the focus with the TAB key to be able to insert the new tag


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #15423: Filtering tags with more than one tag with same "key" did not return correct resultsReleasedVincent MEMBRÉActions
Actions #1

Updated by Alexis Mousset over 4 years ago

  • Translation missing: en.field_tag_list set to Sponsored
  • Category set to Web - UI & UX
  • Assignee set to Raphael GAUTHIER
  • Target version set to 5.0.13
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 65
Actions #3

Updated by Alexis Mousset over 4 years ago

  • Related to Bug #15423: Filtering tags with more than one tag with same "key" did not return correct results added
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #5

Updated by Raphael GAUTHIER over 4 years ago

  • Status changed from New to In progress
Actions #6

Updated by Raphael GAUTHIER over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/2432
Actions #7

Updated by Raphael GAUTHIER over 4 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.13
Actions #9

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check changed from To do to Checked
Actions #10

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

Actions #11

Updated by Alexis Mousset almost 2 years ago

  • Priority changed from 65 to 54
Actions

Also available in: Atom PDF