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

@Jpf.FormBean annotation is not inherited

    XMLWordPrintableJSON

Details

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

    Description

      The @Jpf.FormBean annotation should be inherited, but isn't. In the soon-to-be-attached repro, hit /val/Controller.jpf, and submit the form without filling in any value.

      Expected: see a validation error that says "This field is required!"
      Actual: get a Tag Error that says "An error occurred accessing the message bundle. This may be because there is no default message bundle defined for the current page flow."

      Since DerivedFormBean inherits from BaseFormBean, the error message should come out of common/Messages.properties, which is specified in the @Jpf.FormBean annotation on BaseFormBean.

      Attachments

        1. val2.zip
          37 kB
          Richard Feit

        Activity

          People

            jzhuo Julie Zhuo
            rich Richard Feit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: