Project

General

Profile

Actions

Bug #79347

closed

DB Check causes Php warning in QueryBuilder

Added by Christer V over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2017-01-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Selecting "Database Relations" under "DB check" causes a php warning:

 PHP Warning: Missing argument 1 for Doctrine\DBAL\Query\QueryBuilder::orWhere(), called in typo3_src/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php on line 651 and defined in vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 836

Actions #1

Updated by Christer V about 7 years ago

  • Category set to Database API (Doctrine DBAL)

This is caused when you use the DB type BLOB. This will cause selectNonEmptyRecordsWithFkeys to generate a empty $whereClause. Which causes an warning when calling
$queryBuilder->orWhere(...$whereClause)->execute();

Actions #2

Updated by Christer V about 7 years ago

  • Target version set to 8 LTS
  • Sprint Focus set to Stabilization Sprint
Actions #3

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #4

Updated by Gerrit Code Review about 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #5

Updated by Gerrit Code Review about 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #6

Updated by Gerrit Code Review about 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #7

Updated by Gerrit Code Review about 7 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #8

Updated by Gerrit Code Review about 7 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #9

Updated by Gerrit Code Review about 7 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #10

Updated by Gerrit Code Review about 7 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51813

Actions #11

Updated by Thomas Hohn about 7 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF