Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0-M2
-
Fix Version/s: 2.0-RC1
-
Component/s: None
-
Labels:None
-
Testcase included:yes
Description
Bean-fields and hence any plugin/app that depend on it are broken by this problem.
Previously in Grails, pageScope.variables[x] would return values from the model. In 2.0m2 this is broken. The GroovyPageBinding that pageScope is, contains nothing except and empty "flash" by default.
See attached test project. Just run and browse to /
Attachments
Issue Links
| This issue is depended upon by: | ||||
| GPBEANFIELDS-40 | NullPointerException on Grails 2.0.0.M2 - Cannot get property 'class' on null object |
|
|
|
This is caused by the optimizations I made to GroovyPageBinding. The optimizations doubled the performance of the jtdev performance test.
Would it be possible make a change in bean-fields and use "pageScope.getVariable(x)" instead of "pageScope.variables[x]" ?