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

ConfiguredAreaDefinition bean violates JavaBean Specification


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

      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.

        Acceptance criteria

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


                  Bug DoR
                  Task DoD