« Previous | Next » 

Revision 86305942

ID86305942ab4b150659b72fd96146f9e6e7802e00

Added by Robert Lemke almost 11 years ago

[!!!][~TASK] FLOW3 (Persistence): Make getFirst() return NULL on empty result

The QueryResult::getFirst() method – and consequently also the repository's
findOneBy*() method – returned FALSE if the result set was empty. Because
this is contrary to the conventions elsewhere in FLOW3, this changes the
behavior of getFirst() to return NULL instead.

Change-Id: Icee8712ee9d610f629b7703212dbd3920fa44c1d
Resolves: #11056

  • added
  • modified
  • copied
  • renamed
  • deleted