Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
1.3k
stars
190
forks
source link
[Bug Report]: add() formatter not working with arrays. Issue replicated with excel template and data provided by Carbone #165
Open
menbatisiunissart opened 2 years ago
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 results