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] [Updated] (WW-3794) An incorrect jsp name for the plainText results type quietly fails
Date Sun, 28 Oct 2012 21:49:12 GMT

     [ https://issues.apache.org/jira/browse/WW-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-3794:
------------------------------

    Fix Version/s: 2.3.7
    
> An incorrect jsp name for the plainText results type quietly fails
> ------------------------------------------------------------------
>
>                 Key: WW-3794
>                 URL: https://issues.apache.org/jira/browse/WW-3794
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.2.1
>            Reporter: Eric Lentz
>            Priority: Trivial
>             Fix For: 2.3.7
>
>
> An incorrect jsp name for the plainText results type quietly fails and there is no logging
indication either. For example, jsp/myjsp.jsp might be incorrect. One executes the action
and nothing comes out, no error, no nothing. Change to /jsp/myjsp.jsp and suddenly all is
well. In revision 651946 of PlainTextResult.java, for example (should be the same in other
versions - experienced in Struts 2.2.1), @ line 148, an exception happens and execution jumps
to the finally. As a result, the null check is skipped and no chance of logging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message