You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Eric Lentz (Created) (JIRA)" <ji...@apache.org> on 2012/04/10 18:35:18 UTC

[jira] [Created] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

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


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, something exceptional happens but it isn't thrown. Instead, execution jumps to the finally.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

Posted by "Lukasz Lenart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250905#comment-13250905 ] 

Lukasz Lenart commented on WW-3794:
-----------------------------------

Please check the current version, refactored a bit ;-)
                
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

Posted by "Eric Lentz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Lentz updated WW-3794:
---------------------------

    Description: 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, something exceptional happens but it isn't thrown. Instead, execution jumps to the finally. As a result, the null check is skipped and no chance of logging.  (was: 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, something exceptional happens but it isn't thrown. Instead, execution jumps to the finally.)
    
> 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
>
> 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, something exceptional happens but it isn't thrown. Instead, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

Posted by "Lukasz Lenart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250904#comment-13250904 ] 

Lukasz Lenart commented on WW-3794:
-----------------------------------

You will get a warn() in log if stream for given location cannot be loaded. Do you wanna see huge stack trace instead ?
                
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WW-3794) An incorrect jsp name for the plainText results type quietly fails

Posted by "Eric Lentz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Lentz updated WW-3794:
---------------------------

    Description: 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.  (was: 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, something exceptional happens but it isn't thrown. Instead, execution jumps to the finally. As a result, the null check is skipped and no chance of logging.)
    
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira