[TASK] Doctrine: Migrate indexed_search part 2
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-77390-ReturnTypeOfHookGetResultRows_SQLpointerInIndexSearchChanged.rst
1 ==================================================================================================
2 Breaking: #77390 - Expected return type of hook getResultRows_SQLpointer in Indexed Search changed
3 ==================================================================================================
4
5 Description
6 ===========
7
8 As part of the migration of the core code to use Doctrine the expected return value of the hook
9 ``getResultRows_SQLpointer`` in Indexed Search has been changed.
10
11 It is required that :php:``\Doctrine\DBAL\Driver\Statement`` objects are returned instead of the
12 previous types :php:``bool`` or :php:``\mysqli_result``.
13
14
15 Impact
16 ======
17
18 3rd party extensions implementing the hook :php:``getResultRows_SQLpointer`` need to provide the
19 correct return type, otherwise fatal errors will occur when processing the search results.
20
21
22 Affected Installations
23 ======================
24
25 Installations using 3rd party extensions that implement the hook :php:``getResultRows_SQLpointer``
26 for Indexed Search.
27
28
29 Migration
30 =========
31
32 Migrate the implementation of the hook to provide the expected Doctrine Statement object.