Bug #9358

isEmpty() in queries works only when used with logicalNot()

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

Status:
Resolved
Priority:
Must have
Category:
Persistence
Start date:
2010-08-17
Due date:
% Done:

100%

Estimated time:
6.00 h
PHP Version:
Has patch:
Complexity:

Description

When using the isEmpty() constraint against empty collections, this works only when combined with logicalNot(), due to a logical bug in the SQL used underneath.

#1

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4999.

Also available in: Atom PDF