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

@Jpf.Catch does not put expression message into the right error key

    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, path="error.jsp", message="${pageFlow.URI}")
      • In error.jsp, add the following tag:
        <netui:error key="java.lang.IllegalStateException"/>
      • Hit an action that throws IllegalStateException.

      Expected: see the page flow's URI displayed in error.jsp
      Actual: see nothing displayed in error.jsp.

      @Jpf.Catch should put the exception under a key created from the exception class name, as long as you didn't specify the 'messageKey' attribute.

      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: