ilgrosso opened a new pull request, #362:
URL: https://github.com/apache/syncope/pull/362

   This PR:
   
   - upgrades Spring Boot to latest 2.7 currently available (2.7.1)
   - upgrades CAS to latest 6.6. currently available (6.6.0-RC4) and matching 
Pac4j (5.4.3)
   
   Some work has been performed in order to upgrade the Spring Security 
configuration to match with the latest deprecations.
   
   All seems to work except for a breaking error with CAS templates; in order 
to reproduce, it is enough to run the test cases
   
   * `org.apache.syncope.wa.starter.BasicTest#loginLogout`
   * `org.apache.syncope.wa.starter.BasicTest#loginError`
   
   under `/wa/starter`.
   
   The error message is
   
   ```
   org.thymeleaf.exceptions.TemplateProcessingException: Error during execution 
of processor 
'nz.net.ultraq.thymeleaf.layoutdialect.decorators.DecorateProcessor' (template: 
"login/casLoginView" - line 2, col 64)
           at 
org.thymeleaf.processor.element.AbstractAttributeModelProcessor.doProcess(AbstractAttributeModelProcessor.java:134)
 ~[thymeleaf-3.0.15.RELEASE.jar:3.0.15.RELEASE]
   [...]
   Caused by: groovy.lang.MissingMethodException: No signature of method: 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.xml.XmlDocumentDecorator.decorate()
 is applicable for argument types: (org.thymeleaf.engine.Model, 
org.thymeleaf.engine.Model)
   [...]
   Possible solutions: decorate(org.thymeleaf.model.IModel, 
org.thymeleaf.model.IModel)
           at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:72)
 ~[groovy-4.0.3.jar:4.0.3]
           at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:148)
 ~[groovy-4.0.3.jar:4.0.3]
           at 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.html.HtmlDocumentDecorator.decorate(HtmlDocumentDecorator.groovy:115)
 ~[thymeleaf-layout-dialect-3.0.0.jar:?]
           at 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.Decorator$decorate.call(Unknown
 Source) ~[?:?]
           at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
 ~[groovy-4.0.3.jar:4.0.3]
           at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
 ~[groovy-4.0.3.jar:4.0.3]
           at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:148)
 ~[groovy-4.0.3.jar:4.0.3]
           at 
nz.net.ultraq.thymeleaf.layoutdialect.decorators.DecorateProcessor.doProcess(DecorateProcessor.groovy:134)
 ~[thymeleaf-layout-dialect-3.0.0.jar:?]
           at 
org.thymeleaf.processor.element.AbstractAttributeModelProcessor.doProcess(AbstractAttributeModelProcessor.java:77)
 ~[thymeleaf-3.0.15.RELEASE.jar:3.0.15.RELEASE]
           ... 186 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to