Bug #26493
Repository::countAll() does not return integers
Status: | Resolved | Start date: | 2011-04-29 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
RepositoryInterface::countAll() should return integers. But apparently the doctrine integration does not cast the return type thus
$repository->countAll() === 1will never be TRUE.
Associated revisions
[BUGFIX] Make sure countAll() returns integers
With Doctrine persistence countAll() would not return integers (in all
cases), thus strict comparison did not work.
Fixes: #26493
Change-Id: I4d7afd65e819d0fda0dbedf541d0766aa81138e6
History
#1 Updated by Karsten Dambekalns over 4 years ago
- Status changed from New to Accepted
- Priority changed from Should have to Must have
- Target version set to 1.0 beta 1
#2 Updated by Mr. Hudson over 4 years ago
Patch set 1 of change I4d7afd65e819d0fda0dbedf541d0766aa81138e6 has been pushed to the review server.
It is available at http://review.typo3.org/1793
#3 Updated by Karsten Dambekalns over 4 years ago
- Status changed from Accepted to Under Review
#4 Updated by Karsten Dambekalns about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2aa7624ff8c0db195d9df63ec507217278f33e3f.