Project

General

Profile

Bug #15419

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

Added by Ilan COSTA 3 months ago. Updated 2 months ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
65
Tags:

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

Related to Rudder - Bug #15423: Filtering tags with more than one tag with same "key" did not return correct resultsReleasedActions

Associated revisions

Revision b1ba8ac9 (diff)
Added by Raphael GAUTHIER 3 months ago

Fixes #15419: Tags are not properly set when changing only value field before new insertion

History

#1

Updated by Alexis MOUSSET 3 months ago

  • Tags 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
#3

Updated by Alexis MOUSSET 3 months ago

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

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.13 to 5.0.14
#5

Updated by Raphael GAUTHIER 3 months ago

  • Status changed from New to In progress
#6

Updated by Raphael GAUTHIER 3 months 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
#7

Updated by Raphael GAUTHIER 3 months ago

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

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.14 to 5.0.13
#10

Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF