You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some form errors crash enketo and are not logged
To Reproduce
Assuming you have a question name and a calculate household_name that concatenates name with Household, the expression would fail to evaluate if name had a " character as part of its input.
The following failure is in cht-core.
Could not evaluate: concat(../../contact/name, ' Household'), message: Failed to execute 'evaluate' on 'Document': The string 'concat("He A"", " Household")' is not a valid XPath expression.
The following is a stack trace from harness from an uncaught error
Error: Evaluation failed: FormLogicError
at ExecutionContext._evaluateInternal (node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
at process._tickCallback (internal/process/next_tick.js:68:7)
What did you expect?
A clear description of the error
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Desktop: Latest Chrome & Firefox
The text was updated successfully, but these errors were encountered:
Describe the bug
Some form errors crash enketo and are not logged
To Reproduce
Assuming you have a question
name
and a calculatehousehold_name
that concatenatesname
withHousehold
, the expression would fail to evaluate if name had a"
character as part of its input.The following failure is in cht-core.
The following is a stack trace from harness from an uncaught error
What did you expect?
A clear description of the error
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Desktop: Latest Chrome & Firefox
The text was updated successfully, but these errors were encountered: