great, trying to upgrade, but have got org.codehaus.groovy.control.MultipleCompilationErrorsException looks like that is it when acegi-plugin installing. any clues? thanks
hi,I try this,some problems:
when I want to get the check errors,it gave me the error messages,but it gave me this too:
[class Book]'s [text] must be not null
org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack$GroovyPageProxyWriter@11de1c2
the env is development.
other problem:
if some classes in package(not root package),when the env is
development,and I invoke the classes,it will give me class not found
exception,but I do not want this in logs.
it also happend in 1.1.1/1.2-M2/1.2-M3.
I am trying upgrade a grails 1.1.1 application into 1.2.M3 and run into some problems.
1.
many plugins are not able to install/upgrade though it find the correct
current versions. So I manually download those plugins and install them
manually one by one.
2. gsp page keeps having problem. In one page I saw this error and I
removed a commented out line and that gsp worked fine. But for another
gsp, it keeps complaining line 75. That line was just a javascript.
Even I make that line or a few lines before it empty, it still
complains line has problem with the following exception.
org.codehaus.groovy.grails.
web.taglib.exceptions.GrailsTagException: Grails tag [g:captureBody] was not closed
When I use the taglib renderErrors (1.2-M3), between errors put
the following text
org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack$GroovyPageProxyWriter.... (This bug is already reported in this blog).
On the other hand these error messages are displayed in reverse order
as described by the constraints.
trying to upgrade, but have got org.codehaus.groovy.control.MultipleCompilationErrorsException
looks like that is it when acegi-plugin installing.
any clues?
thanks
but faced another problem with loggedInUserInfo(field:'username')
when I want to get the check errors,it gave me the error messages,but it gave me this too:
[class Book]'s [text] must be not null
org.codehaus.groovy.grails.web.pages.GroovyPageOutputStack$GroovyPageProxyWriter@11de1c2
the env is development.
other problem:
if some classes in package(not root package),when the env is development,and I invoke the classes,it will give me class not found exception,but I do not want this in logs.
it also happend in 1.1.1/1.2-M2/1.2-M3.
1. many plugins are not able to install/upgrade though it find the correct current versions. So I manually download those plugins and install them manually one by one.
2. gsp page keeps having problem. In one page I saw this error and I removed a commented out line and that gsp worked fine. But for another gsp, it keeps complaining line 75. That line was just a javascript. Even I make that line or a few lines before it empty, it still complains line has problem with the following exception.
org.codehaus.groovy.grails.
Any idea?
Thanks
Yiguang
Original gsp that works on 1.1.1 and before.
<g:if test="${ref}">
<body onload='doref();'>
</g:if>
<g:else>
<body onload='doother();' >
</g:else>
stuff
</body>
Change to following and then it works in 1.2.M3
<%
def lod="doother();"'
if (ref){
lod=doref();
}
%>
<body onload='${lod}' >
stuff
</body>