enonic / lib-thymeleaf

Apache License 2.0
0 stars 0 forks source link

Handle error in Thymeleaf fragments #5

Closed GlennRicaud closed 5 years ago

GlennRicaud commented 5 years ago

The errors happening in thymeleaf fragments are not correctly handled. We get instead an "Invalid applicationKey file key uri specification" while handling the error.

To reproduce:

Include a fragment

<div data-th-replace="../fragments/myfragment"></div> 

Loop over a missing array

<ul>
  <li data-th-each="myobject : ${data.missing}">
    Test
  </li>
</ul>
aro commented 5 years ago

See also this issue: https://github.com/enonic/xp/issues/4762