Re: Action validation is being performed when it shouldn't

2011-04-30 Thread Alex Barnes
In case anyone is curious this has been solved by removing @Transactional annotations from all action class methods and moving them on to the methods on the DAOs. The presence of the annotation on the action class was resulting in a JDKDynamicProxy object being passed to the AnnotationValidationIn

Re: Action validation is being performed when it shouldn't

2011-04-29 Thread Alex Barnes
Chris, Thanks for the reply. I think this is the ValidationInterceptor rather than the workflow interceptor. The stack trace is as follows: ava.lang.NullPointerException com.devcentre.yubi.application.action.NewSupplierAction.validate(NewSupplierAction.java:49) sun.reflect.NativeMethodA

Re: Action validation is being performed when it shouldn't

2011-04-29 Thread Chris Pratt
I don't use the those annotations, but from what I can tell, it only affects the XML validation (validation interceptor) not the programmatic validation (workflow interceptor). You can switch from execute to one of the unvalidated method names (I think input, cancel, and two others I can't think o

Action validation is being performed when it shouldn't

2011-04-29 Thread Alex Barnes
Hi all, I am having a few issues with some code which worked a few days ago but has stopped working for some reason. I have no idea what has changed to cause this but here are the symptoms. I have an action class called NewSupplierAction which extends ActionSupport and overrides the validate m