Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0-beta2
-
None
-
None
Description
Currently, when you provide null elements in the model (renderIterator), you'll get a NPE exception further down the line (in ListView#renderItem for instance). We should either throw an meaningful exception earlier, or we should make repeaters more lenient and just print out a warning message. I opt for the latter. This should be clear enough when developing (you probably would wonder where your data is to start with) and a lot better than unexpectedly getting NPEs in a production systems in case you missed it.