Bug #93795

Replace none working example in PHPDoc

Added by Daniel Siepmann about 2 months ago. Updated 3 days ago.

Status:
Closed
Priority:
Should have
Category:
Documentation
Target version:
-
Start date:
2021-03-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The PHPDoc of

TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
contains an example to order by
RAND()
.
That does not work since Doctrine will add asc as default.
This will lead to the following error:

ORDER BY `RAND()` ASC': Unknown column 'RAND()' in 'order clause'
#1

Updated by Daniel Siepmann about 2 months ago

  • Description updated (diff)
#2

Updated by Gerrit Code Review about 2 months 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/c/Packages/TYPO3.CMS/+/68554

#3

Updated by Gerrit Code Review about 2 months 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/c/Packages/TYPO3.CMS/+/68554

#4

Updated by Gerrit Code Review about 2 months 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/c/Packages/TYPO3.CMS/+/68554

#5

Updated by Gerrit Code Review about 2 months ago

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

#6

Updated by Gerrit Code Review about 2 months ago

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

#7

Updated by Daniel Siepmann about 2 months ago

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

Updated by Benni Mack 3 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF