Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3035

TreeTable reference is initialised and stored improperly in TreeViewImpl.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.3.1
    • 5.3
    • None

    Description

      TreeViewImpl#createTable method should only instantiate the tree table, but in TreeViewImpl we also assign an internal reference (TreeViewImpl#tree field) to it. If the method is overriden in a sub-class, the field is never initialised which causes errors.

      We also could avoid over-specifying the type of the tree table (it is currently bound to MagnoliaTreeTable but just TreeTable would be enough).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD