After upgrading to shiro 1.1.3 I am facing issues with the GSP,
1. GSP is not evaluated but rendered as it is.
Firebug output
<html>
<sitemesh:captureHead>
<sitemesh:captureTitle>
<g:message code="xxx" default="xxxx"></g:message>
</sitemesh:captureTitle>
<sitemesh:captureMeta gsp_sm_xmlClosingForEmptyTag="/" name="layout" content="main"></sitemesh
:captureMeta>
</sitemesh:captureHead>
<sitemesh:captureBody>
Some other content here
</sitemesh:captureBody>
</html>
2. If i use expression like ${message(....)} or ${remoteFunction(......)} It will throw MissingMethod exceptions/No signature of method etc... but when I replaced these expressions with gsp tags, I got above response.
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error evaluating expression [message(code:'default.titleapplication', default:'xxxxx')] on line [3]: groovy.lang.MissingMethodException: No signature of method: F__work_dachis_dachis_core_dev_mysocial_grails_app_vi
ews_index_gsp.message() is applicable for argument types: (java.util.LinkedHashMap) values: [[code:default.titleapplication, defaultxxxxx]]
Possible solutions: isCase(java.lang.Object)
at org.codehaus.groovy.grails.web.pages.GroovyPage.evaluate(GroovyPage.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
What might be going wrong ?