Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-383

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V1Alpha, V1Beta
    • V1Beta
    • NetUI
    • None

    Description

      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.

      Attachments

        Activity

          People

            alramire Alejandro Ramirez
            rich Richard Feit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: