Changes between Version 1 and Version 2 of Ticket #13888, comment 1


Ignore:
Timestamp:
Sep 12, 2011, 3:43:01 AM (8 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13888, comment 1

    v1 v2  
    1 There's a typo in your test case where it tries to load a root of "testTreeRoot2", yet your only data file is called "treeTestRoot2".   But after fixing that, I can see the real problem is that your leaf nodes don't have children: [] entries, and that confuses the !ServiceStore code when Tree queries to find the children of those items.
     1There's a typo in your test case where it tries to load a root of "testTreeRoot2", yet your only data file is called "treeTestRoot2".   But after fixing that, I can see the real problem is that your leaf nodes don't have children: [] attributes, and that confuses the !ServiceStore code when Tree queries to find the children of those items.
    22
    3 There are provisions in !ServiceStore for deferred loading of items.    However, your test case doesn't have that setup.   It would need to do deferred loading which would create the empty children attribute.
     3There are provisions in !ServiceStore for deferred loading of items.    However, your test case doesn't have that setup.   It would need to do deferred loading which would create the empty array children attribute.