Widgets are not compatible with Doctrine persistance
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.