You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/03/01 02:55:49 UTC

[jira] Created: (BEEHIVE-383) Expression messages are not getting evaluated before being passed to exception-handler methods

Expression messages are not getting evaluated before being passed to exception-handler methods
----------------------------------------------------------------------------------------------

         Key: BEEHIVE-383
         URL: http://issues.apache.org/jira/browse/BEEHIVE-383
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Alpha, V1Beta    
    Reporter: Rich Feit
 Assigned to: Rich Feit 
     Fix For: V1Beta


 Repro:
    - Add the following to a page flow:
        @Jpf.Catch(type=IllegalStateException.class, method="handleException", message="${pageFlow.URI}")

    - Add an exception-handler:

        @Jpf.ExceptionHandler()
        public Forward handleException( Exception ex, String actionName, String message, Object form )
        {
            System.out.println( message );
            return null;
        }

    - Hit an action that throws IllegalStateException.

Expected: see the page flow's URI printed to the console.
Actual: see "${pageFlow.URI}" printed to the console.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-383) Expression messages are not getting evaluated before being passed to exception-handler methods

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-383?page=all ]
     
Alejandro Ramirez closed BEEHIVE-383:
-------------------------------------


Verified Fixed.  Executed Repro Steps and I can see the pageflow URI in the console.  In addition the coreWeb BVT: ExceptionMessages is passing.

> Expression messages are not getting evaluated before being passed to exception-handler methods
> ----------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-383
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-383
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Alpha, V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>      Fix For: V1Beta

>
>  Repro:
>     - Add the following to a page flow:
>         @Jpf.Catch(type=IllegalStateException.class, method="handleException", message="${pageFlow.URI}")
>     - Add an exception-handler:
>         @Jpf.ExceptionHandler()
>         public Forward handleException( Exception ex, String actionName, String message, Object form )
>         {
>             System.out.println( message );
>             return null;
>         }
>     - Hit an action that throws IllegalStateException.
> Expected: see the page flow's URI printed to the console.
> Actual: see "${pageFlow.URI}" printed to the console.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-383) Expression messages are not getting evaluated before being passed to exception-handler methods

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-383?page=history ]
     
Rich Feit resolved BEEHIVE-383:
-------------------------------

     Assign To: Alejandro Ramirez  (was: Rich Feit)
    Resolution: Fixed

Fixed with revision 155754.

> Expression messages are not getting evaluated before being passed to exception-handler methods
> ----------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-383
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-383
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Alpha, V1Beta
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>      Fix For: V1Beta

>
>  Repro:
>     - Add the following to a page flow:
>         @Jpf.Catch(type=IllegalStateException.class, method="handleException", message="${pageFlow.URI}")
>     - Add an exception-handler:
>         @Jpf.ExceptionHandler()
>         public Forward handleException( Exception ex, String actionName, String message, Object form )
>         {
>             System.out.println( message );
>             return null;
>         }
>     - Hit an action that throws IllegalStateException.
> Expected: see the page flow's URI printed to the console.
> Actual: see "${pageFlow.URI}" printed to the console.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira