CachingIterator uses wrong check for validity

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.9.0-alpha1, 1.9.0
    • Affects Version/s: 1.9.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In storeCurrentItem, the CachingIterator class checks the nested iterator for validity by checking that the key is not null instead of using the valid() method of the nested iterator. In combination with PHPC-1748, this causes invalid positions to be treated as valid.

            Assignee:
            Andreas Braun
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: