[ 
https://issues.apache.org/jira/browse/MYFACES-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Andraschko resolved MYFACES-4343.
----------------------------------------
      Assignee: Thomas Andraschko
    Resolution: Fixed

> DataModel can not return next element
> -------------------------------------
>
>                 Key: MYFACES-4343
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4343
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3-next-M2
>            Reporter: Jan Krpata
>            Assignee: Thomas Andraschko
>            Priority: Critical
>             Fix For: 2.3-next-M3
>
>
> DataModel can not return next element, the condition shoud be reversed.
> {code:java}
> public E next() {
>   if (hasNext()) {
>     throw new NoSuchElementException("Couldn't find any element in DataModel 
> at index " + nextRowIndex);
>   }
>   ...
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to