struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3654) Failed validation returns Action.NONE instead of Action.INPUT
Date Fri, 11 Apr 2014 10:26:15 GMT

    [ https://issues.apache.org/jira/browse/WW-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966378#comment-13966378
] 

Lukasz Lenart commented on WW-3654:
-----------------------------------

Ping!

> Failed validation returns Action.NONE instead of Action.INPUT
> -------------------------------------------------------------
>
>                 Key: WW-3654
>                 URL: https://issues.apache.org/jira/browse/WW-3654
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors, Plugin - REST
>    Affects Versions: 2.2.3
>         Environment: Windows 7/Server 2008, Apache Tomcat/5.5.15, Java 1.6
>            Reporter: Christoffer Enqvist
>            Priority: Critical
>              Labels: interceptors, modeldriven, rest, validation
>             Fix For: 2.5.x
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message