[CFGUI-88] YAML list rendered as map with "null" keys in the def. app Created: 24/May/19  Updated: 25/Mar/22

Status: Open
Project: Definitions App
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File def-app-screenshot_.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The definitions app apparently renders a list as a map using null as keys.
It doesn't matter whether the YAML file is using the "normal syntax" or the "list short syntax".

This is confusing.


Example YAML definitions:

"short" syntax

maxSize: 25
welcomeMessage: Hello world
fooBar:
  colors: [red, green, blue]

"normal" syntax

maxSize: 25
welcomeMessage: Hello world
fooBar:
  colors:
    - red
    - green
    - blue

Screenshot:

 

 


Affected version: 2.0-SNAPSHOT
On M.-6.1.0-SNAPSHOT 


Generated at Mon Feb 12 00:44:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.