cappuccino/cappuccino — Issue #1442: CPCollectionView _selectionIndexes returns -1 for firstIndex
Author: andrewjl
Created: 2012-01-31 02:52:35+00:00
State: open

In the CPCollectionView class, when a new array is passed into the seContent method, the _selectionIndexes firstIndex value is -1, which causes a CPRangeException to be thrown.

Steps to reproduce:

http://freezing-dawn-4125.herokuapp.com/index-debug.html

Click "Edit blog post" and edit any of the posts, a CPRangeException will then show up in the browser console.