Closed rashmi-rai closed 2 years ago
Evaluation fails when object key contains spaces. This object may returned by a query or can be saved in a JS Object.
For the object
[{ "first name": "Jon", "last name": "Doer", "gender": "male" }]
{{currentRow["first name"]}} fails {{currentRow["first_name"]}} works {{currentRow["gender"]}} works
{{currentRow["first name"]}}
{{currentRow["first_name"]}}
{{currentRow["gender"]}}
Omgång: "378", Datum: "2021-11-08 12:05", Typ: "Så", ID: "JS00-VdK-170-048", Från: "", "Planta 1": "Koriander - Cruiser", "Leverantör 1": "Semenco", "Antal 1": "40", "Varför 1": "", "Skörd 1": "", "Planta 2": "Mangold - Fireworks", "Leverantör 2": "De Bolster", "Antal 2": "40", "Varför 2": "", "Skörd 2": "", "Planta 3": "Timjan - English Winter", "Leverantör 3": "Semenco", "Antal 3": "40", "Varför 3": "", "Skörd 3": "", "Planta 4": "Shiso - Perilla röd", "Leverantör 4": "Semenco", "Antal 4": "40", "Varför 4": "", "Skörd 4": "", Anteckningar: "", rowIndex: "9", }
customColumn1
{{all_events.data[currentRow.rowIndex]["Planta 1"]}}
NOTE:
Ref:
Production
Cloud
Issue is fixed. Evaluation does not fail when keys in the object have spaces.
https://images.zenhubusercontent.com/275993885/5c655537-17ca-447b-a714-5d10fdc8abae/screen_recording_2022_05_25_at_2_20_51_pm.mov
Moving this to Done.
Done
Is there an existing issue for this?
Current Behavior
Evaluation fails when object key contains spaces. This object may returned by a query or can be saved in a JS Object.
For the object
{{currentRow["first name"]}}
fails{{currentRow["first_name"]}}
works{{currentRow["gender"]}}
worksSteps To Reproduce
customColumn1
customColumn1
{{all_events.data[currentRow.rowIndex]["Planta 1"]}}
in dataNOTE:
Ref:
Environment
Production
Version
Cloud