Reviewers: dconnelly,

Description:
Fixing a bug in CellTree where refreshing an empty list of children
causes an AssertionError that is not captured by the console.
CellTreeNodeView#loadChildState() accesses the first child element of
the current node in preparation of a loop, but we didn't handle the case
where their is no first child because the node is empty.  I also added a
catch block in HasDataPresenter to rethrow Errors as RuntimeExceptions
so we can view them in dev mode.


Please review this at http://gwt-code-reviews.appspot.com/1463805/

Affected files:
  M user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java
  M user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java
  M user/test/com/google/gwt/user/cellview/client/CellTreeTest.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to