Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Resolved
-
2.2.3
-
Windows 7/Server 2008, Apache Tomcat/5.5.15, Java 1.6
Description
After upgrading from 2.2.1.1 to 2.2.3 input validation fails (i.e. invalid input values), and returns Action.NONE instead of Action.INPUT. Log (TRACE-level) doesn't show anything interesting. Completely removing result-definition does not result in "result not defined-error". Downgrading to 2.2.1.1 fixes the problem again.
Action/Controller extends ActionSupport and implements ModelDriven<Object>. Results are defined using annotations. After debugging the Struts2-code it seems as if result is null at line 295 in RestActionInvocation.java.