Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2971

initial property value does not work if setter is missing (doesn't fall back to field)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.2.GA, 2.1.0.A1
    • Fix Version/s: 2.0.2.GA
    • Component/s: None
    • Labels:
      None
    • Workaround Description:
      Hide

      Use a setter method to assign an initial property value.

      Show
      Use a setter method to assign an initial property value.
    • Estimated Difficulty:
      Low

      Description

      The check for the setter method when preparing the initial property value is not wrapped in a catch block, so the logic never makes it to the field check. If the setter is missing, the proper behavior is that it moves on to looking for a field.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                dan.j.allen Dan Allen
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 minutes
                  5m
                  Remaining:
                  Remaining Estimate - 5 minutes
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified