Bug #33106

Behavior of QueryResult for Doctrine and Generic differs

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

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

Revision 9c421d64
Added by Karsten Dambekalns over 3 years ago

[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

Also available in: Atom PDF