Bug #36625

PersistenceQueryRewritingAspect does not support count() correctly

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

Status:
Resolved
Priority:
Must have
Assignee:
Category:
Security
Start date:
2012-04-26
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

If the aspect intercepts a count() method and the result (because of lacking access rights) would be "none", the aspect returns an EmptyQueryResult object which in turn can not be cast into an integer by the client code.

#1

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10788

#2

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10788

#3

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10788

#4

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10788

#5

Updated by Gerrit Code Review over 9 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10788

#6

Updated by Robert Lemke over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF