Updated Branches:
  refs/heads/develop ba69c21d9 -> 5aabd878b

FLEX-33688 Fixed RTE when list is sorted and items is null


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5aabd878
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5aabd878
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5aabd878

Branch: refs/heads/develop
Commit: 5aabd878ba1b5a02dd5d8ed66236da543622e7a7
Parents: ba69c21
Author: Justin Mclean <jmcl...@apache.org>
Authored: Wed Aug 28 14:42:06 2013 +1000
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Wed Aug 28 14:42:06 2013 +1000

----------------------------------------------------------------------
 .../advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5aabd878/frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
 
b/frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
index 2c56bee..96cd829 100644
--- 
a/frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
+++ 
b/frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
@@ -6063,7 +6063,7 @@ public class AdvancedListBase extends ScrollControlBase
 
         if (useFind)
         {
-            while (items.length)
+            while (items && items.length)
             {
                 var item:Object = items.pop();
                 uid = itemToUID(item);

Reply via email to