Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0-RC1, 1.0-RC2, 1.0-RC3
-
Fix Version/s: 1.1-RC1
-
Component/s: Ajax, Commons, Controllers, Security
-
Labels:None
-
Environment:Ubuntu 7.10, JDK 1.6.0_03
Description
Filters absolutly useless in case of direct mapping to view. Grails as yet have not usefull crosecutting concept solution. Security, logging, use statistics is very hard to implement .
Solution:
Now mapping to view is processed in filter but fulters are called in HandlerInterceptor. Place url mapping rpocessing in HandlerInterceptor with lower order than filters handler interceptor.
As now we developing highly dynamic AJAX application. It's almost finished.
In our case application have relatively simple views that do not require controller. We try to use direct URI to View mapping but in this case filters not called. We have considerable logic in our filters and we hate to use empty controllers only for getting filters to work.
I hope to find understanding...