Hi Francesco; I was able to reproduce your problem and found the source of the regression that I logged as JEXL-351. The culprit is an unfortunate implementation change in 3.2 that break templates used with strict sandboxing. On your side, if you want to go further with JEXL 3.2, you may want to 'allow' TemplateInterpreter in your SandoxUberspect getMethod. On mine, the fix is coming momentarily but the release might take a little longer. Sorry for the inconvenience, Henri
On 2021/06/07 15:42:55, Francesco Chicchiricc�� <[email protected]> wrote: > Hi there, > at Syncope we are using Commons JEXL for various tasks, including > notification e-mail templates. > > All is working fine with 3.1 but when I switch to 3.2 all the tests from [1] > are failing because no output is produced at all after template evaluation. > > Anything obvious I am missing here? > > TIA > Regards. > > [1] > https://github.com/apache/syncope/blob/master/core/provisioning-api/src/test/java/org/apache/syncope/core/provisioning/api/jexl/MailTemplateTest.java > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
