[+BUGFIX] Extbase (Persistence): Extbase still used PHPs current() on some QueryResul...
authorBastian Waidelich <bastian@typo3.org>
Sun, 14 Nov 2010 14:56:14 +0000 (14:56 +0000)
committerBastian Waidelich <bastian@typo3.org>
Sun, 14 Nov 2010 14:56:14 +0000 (14:56 +0000)
[+TASK] Extbase (Persistence): added a private field to the QueryResult to make the above case easier to debug: When calling current() on an Iterator, PHP returns the first field of that object instead of calling the current() method of the Iterator interface.. With our somewhat pragmatic approach you'll see the warning if you debug the results of current($query->execute())
[+BUGFIX] Extbase (Persistence): Replaced two occurrences of Query->count() by Query->execute()->count() to avoid deprecated warnings in the Core


No differences found