Bug #74536
closedAjaxWidget broken
100%
Description
Due to two colliding injects in WidgetRequestHandler the AjaxWidget functionality is completely broken.
After #73018 there are two injects setting requestBuilder within WidgetRequestHandler.
/** * @param \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder $requestBuilder */ public function injectWidgetRequestBuilder(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequestBuilder $requestBuilder) { $this->requestBuilder = $requestBuilder; }
/** * @param \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder $requestBuilder */ public function injectRequestBuilder(\TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder $requestBuilder) { $this->requestBuilder = $requestBuilder; }
First the local function "injectWidgetRequestBuilder()" is called and after that the inherited function "injectRequestBuilder()" is called.
Naturally, the inherited function resets the requestBuilder to something that cannot handle a widgetRequest, thus breaking Ajax Autocomplete in fluid.
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Gerrit Code Review over 8 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/47163
Updated by Alexander Jahn over 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 9a2bd2617e99176b88970499478307e951588faa.
Updated by Gerrit Code Review over 8 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47325
Updated by Alexander Jahn over 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1e6753a00059fcf3f1b3c8bd4d13ea241c111ee6.