Bug #33106
Behavior of QueryResult for Doctrine and Generic differs
Status: | Resolved | Start date: | 2012-01-11 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.2 |
Description
One example is offsetGet()
- Generic returns NULL if the key doesn't exist, Doctrine crashes. This needs to be checked and fixed in the QueryResult for Doctrine.
Associated revisions
[BUGFIX] Make QueryResult::offsetGet() behavior consistent
offsetGet() on QueryResult for Doctrine persistence now checks if
the offset exists and returns NULL if not, instead of running into
an error.
Change-Id: I8de0d1f1a9922b4e1a977cab16aa41af0e3a8307
Fixes: #33106
Releases: 1.1
History
#1 Updated by Gerrit Code Review over 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7734
#2 Updated by Karsten Dambekalns over 3 years ago
- Target version changed from 1.0.3 to 1.1
#3 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7734
#4 Updated by Karsten Dambekalns over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9c421d6401df8d0e45ede739041507d38f9d2fe4.