in "row-form", create an integer question "2-integer-question"
in "root-form", create
table question "2-table-question", with "row-form"
calculated float question with calcExpression '2-table-question'|answer|mapby('2-integer-question')|sum
Trying to fill a document for "root-form" fails with the following stacktrace:
dependencies.js:99 Uncaught (in promise) TypeError: Cannot read property 'map' of null
at dependencies.js:99
at Array.flatMap (<anonymous>)
at Class.<anonymous> (dependencies.js:88)
at index.js:2135
at untrack (validator.js:780)
at ComputedProperty.get (index.js:2134)
at Class.CPGETTER_FUNCTION [as calculatedDependencies] (index.js:1124)
at Class.<anonymous> (field.js:239)
at index.js:2135
at untrack (validator.js:780)
Steps
'2-table-question'|answer|mapby('2-integer-question')|sum
Trying to fill a document for "root-form" fails with the following stacktrace:
Code is here: https://github.com/projectcaluma/ember-caluma/blob/master/addon/lib/dependencies.js#L119