Bug #14017
Widgets are not compatible with Doctrine persistance
Status: | Resolved | Start date: | 2011-03-24 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Widgets | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
Has patch: | Affected Flow version: |
Description
Both the pagination and autocomplete are currently not compatible with the Doctrine persistance layer.
For example, when assigning a result from a repository to the objects attribute of the pagination widget, the following exception is thrown:
PaginateViewHelper_Original::render() must be an instance of F3\FLOW3\Persistence\QueryResult, instance of F3\FLOW3\Persistence\Doctrine\QueryResult given
I've only tested this with the pagination widget, but as both have the same annotation for $objects, I suspect that also the autocomplete is suffering from this issue.
Associated revisions
[BUGFIX] (ViewHelpers) Change QueryResult to QueryResultInterface
Adjust AutocompleteViewHelper and PaginateViewHelper to the changed
persistence class hierarchy.
Fixes: #14017
Change-Id: Id71ddbe471458a87a9162fc2bfdf4e556bf8c2e8
History
#1 Updated by Karsten Dambekalns over 4 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#2 Updated by Karsten Dambekalns over 4 years ago
- Status changed from Accepted to Under Review
#3 Updated by Karsten Dambekalns over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ce6cace983f899e67d7f2a3c09e6d9c68486598d.