When the 'end' attribute is set and Ajax is used, `UIRepeat` skips the last child during `visitTree`. This appears to be due to this line is `visitChildren`: ``` while (i < e && this.isIndexAvailable()) { ``` that I think should be: ``` while (i <= e && this.isIndexAvailable()) { ``` the same as in `process`. `process` has additional logic to also look at offset and size. It should probably be the same. I'm a hobbyist, so don't have the skill to pull / build / correct / test. Backing bean and xhtml attached to reproduce. [reproducer-UIRepeat-end.zip](https://github.com/javaserverfaces/mojarra/files/5163968/reproducer-UIRepeat-end.zip)
When the 'end' attribute is set and Ajax is used,
UIRepeatskips the last child duringvisitTree.This appears to be due to this line is
visitChildren:that I think should be:
the same as in
process.processhas additional logic to also look at offset and size. It should probably be the same.I'm a hobbyist, so don't have the skill to pull / build / correct / test.
Backing bean and xhtml attached to reproduce.
reproducer-UIRepeat-end.zip