Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5032

ConfiguredAreaDefinition bean violates JavaBean Specification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 4.5.9
    • 4.5
    • None
    • None

    Description

      Specification clearly states that isXXX() accessor is allowed only for boolean primitive, but is not permissible for Boolean object. The reason for that shows nicely for example in MAGNOLIA-5028. Seeing isXXX() developers tend to assume that method would always return just true or false value, while in fact it can return also null.
      We need to deprecate all such Boolean isXXX() methods and replace them with Boolean getXXX and also fix their usage in our code as there might be other similar bugs like in MAGNOLIA-5028.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdivilek Milan Divilek
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD