Grails - Grails 1.2 Milestone 3 Rele...

Grails 1.2 Milestone 3 Released

October 02, 2009 by graemerocher | grails, announcements | 6 comments.
Grails 1.2 Milestone 3 has been released. Please see the release notes for further information.

Recent Comments:

Gravatar
great,
trying to upgrade, but have got org.codehaus.groovy.control.MultipleCompilationErrorsException
looks like that is it when acegi-plugin installing.
any clues?
thanks
Oct 03, 2009 08:10 AM vmalykhin
Gravatar
ok, fixed by unistall/install acegi plugin.
but faced another problem with loggedInUserInfo(field:'username')
Oct 03, 2009 11:10 AM vmalykhin
Gravatar
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.
Oct 04, 2009 11:10 AM rainbow
Gravatar
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

Any idea?

Thanks
Yiguang
Oct 05, 2009 10:10 AM yighu
Gravatar
Ok. I found the problem and got a work around. Seems gsp tag evaluation sequence changed.

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>
Oct 10, 2009 16:10 PM yighu
Gravatar
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.
Oct 15, 2009 04:10 AM jlalvarez