[BUGFIX] Build extbase attribute in UriBuilder fallback
With getRequest() in UriBuilder returning a
extbase Request in the fallback chain, we need
to have an extbase attribute when creating it.
Also avoid another call to $GLOBALS['TYPO3_REQUEST'].
Resolves: #99770
Related: #99650
Related: #99734
Related: #99757
Releases: main
Change-Id: Ic59394172a0834efbd2caada23cbf776322a8e11
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77648
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Torben Hansen <derhansen@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Torben Hansen <derhansen@gmail.com>
[BUGFIX] Build extbase attribute in UriBuilder fallback · TYPO3/typo3@4484b62
With getRequest() in UriBuilder returning a extbase Request in the fallback chain, we need to have an extbase attribute when creating it. Also avoid another call to $GLOBALS['TYPO3_REQUEST'...GitHub
[TASK] Drop internal annotation from Extbase's UriBuilder->setRequest()
The setRequest() method is necessary to be called to set the current
request object when using the UriBuilder outside of an Extbase
controller or a view helper. The according changelog also states in
the migration section that the setRequest() method should be called.
So, we remove the internal annotation, so the method is now considered
as public API.
Related: #99650
Resolves: #99734
Releases: main
Change-Id: I45a2149d3215a7ea9abb2458da5eba922bed4cc7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77630
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Torben Hansen <derhansen@gmail.com>
Reviewed-by: Torben Hansen <derhansen@gmail.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
[TASK] Drop internal annotation from Extbase's UriBuilder->setRequest() · TYPO3/typo3@41df9b9
The setRequest() method is necessary to be called to set the current request object when using the UriBuilder outside of an Extbase controller or a view helper. The according changelog also states ...GitHub