- Failed at: #assign criticals = array?filter(x ->... [in template "axe/pagemetrics.ftl" at line 52, column 1]
- Reached through: #include "pagemetrics.ftl" [in template "axe/page.ftl" at line 10, column 5]
The following has evaluated to null or missing:
==> x.impact [in template "axe/pagemetrics.ftl" at line 52, column 39]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
Parsed one of the json files generated by axe for the values of impact.
Running into issue with converting the axe json to html report. It looks like axe allows impact to be null. https://github.com/dequelabs/axe-core/blob/a38e93ef589d65ee764b07c1d55c411acb3ebf87/axe.d.ts#L6 Html report can't be generated because template needs to be updated to handle the null value.
Here is the error
Parsed one of the json files generated by axe for the values of impact.