Value is getting null in handlerbar



  • We have a processed custom array in BeforeRender() which we are passing to handlerbar.
    On iterating over it returns an exception saying--
    Rendering engine handlebars
    TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at xml2jsonUnwrap (evaluate-template-engine-helpers.js

    We have logged the object passed for rendering in BeforeRender() and even logged it in handler bar as well but when it is being used with {{#each }} it it throwing error.

    Kindly help



  • Please replicate the problem in playground and share the link here.
    https://playground.jsreport.net/


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.