FLUID-5247: arrays of transformations will not produce an array if the new key contains a dot

Metadata

Source
FLUID-5247
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Justin Obara
Created
2014-01-09T16:06:30.502-0500
Updated
2014-01-10T13:08:42.578-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Model Transformation System

Description

When specifying a model transformation with an array of transformations, if the new key contains a dot (escaped or not) it will return an object with keys relating to positions in an array instead of an array.

e.g.

model = {a: "something"}

transformation = {b: [{value: "a"}]}

result:
{b:{0: {value: "something"}}}

Comments