[MGNLUI-3035] TreeTable reference is initialised and stored improperly in TreeViewImpl. Created: 02/Jul/14 Updated: 07/Jul/14 Resolved: 02/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.3 |
| Fix Version/s: | 5.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Aleksandr Pchelintcev | Assignee: | Aleksandr Pchelintcev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contentapp, quickwin, tree | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| 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). |