[Bug Report]: add() formatter not working with arrays. Issue replicated with excel template and data provided by Carbone #165
Labels
T: bug
Functionality that does not work as intended/expected
Environment
Carbone Version: 3.2.3 (also tested with 2.1.1 with similar results)
Node Version: v16.13.0
Desktop OS: Mac Os 11.6.7 Big Sur
Expected Behaviour
Excel "dynamic paramters" example provided by carbone.id:
https://carbone.io/examples/dynamic-parameters/Archive.zip
Actual Behaviour
Content rendered as
NaN
Steps to reproduce
Steps to reproduce the bug:
Screenshots
Also managed to replicate the same issue in Carbone studio:
Other comments
Traced down the issue to
getValueOfPath
inhelper.js
Debug mode throwing the following error:
[[C_ERROR]] arr[1] not defined
Also tried the same template in
.ods
instead of excel with similar resultsThe text was updated successfully, but these errors were encountered: