Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.2-RC2
-
Fix Version/s: 1.2.1
-
Component/s: None
-
Labels:None
-
Environment:XPSP2, JDK 1.6 Upd. 17
Description
The following GSP expressions are not working anymore since upgrading to RC-2 (from 1.1.1.):
<body class="${page.name} ${page.group.name.toLowerCase()}">
Exception:
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, xyz_gsp: 126: unexpected token: $ @ line 126, column 131.
I have to do the following:
<body class="${page.name + ' ' + page.group.name.toLowerCase()}">
Issue Links
| This issue relates to: | ||||
| GRAILS-5299 | meta tags rendered wrong when using ${} containing double quotes or when using <%= %> at all. |
|
|
|
| GRAILS-5605 | GSP precompilation resulting in an issue if a string has 2 or more (groovy) variables |
|
|
|
Fixed in this commit (1.2.x branch): http://github.com/grails/grails/commit/ec8310829532819e270e7e3fd5bd4a7209434bf6