Skip to content

Known Issues

inno-juanal edited this page Sep 13, 2019 · 2 revisions

Error with nested arrays

If you get an error such as:

Expression evaluation error at function 'MarkupGen_html_newElem':
java.lang.RuntimeException: Value for 'contents', element of 0-based index 1
had an unsupported type [HtmlPart?list]

Note that this error is specific to HtmlPart?list or XmlPart?list. If you get the error for other types, check the Common Problems section.

Solution

Call a!flatten before calling MarkupGen_html_toText.

MarkupGen_html_toText(
   a!flatten(
      /* nested arrays */
   )
)
Clone this wiki locally