Bug #55142

Use getPropertyPath in autocomplete widget

Added by Alexander Stehlik over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Widgets
Target version:
-
Start date:
2014-01-19
Due date:
% Done:

100%

Estimated time:
Has patch:
No

Description

Currently the AutocompleteController uses ObjectAccess::getProperty() for retrieving the property that was searched for in the query.

The query is currently flexible enough to support sub-properties to be searched. An example: if you have a User object you could configure an autocomplete widget that searches for name.fullName. The query will execute that search without problems and find the users.

But as soon as the results are build the widget crashes because it can not access the property.

A simple fix that should not cause any side effects would be to use ObjectAccess::getPropertyPath() instead.

#1

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.Fluid has been pushed to the review server.
It is available at https://review.typo3.org/26931

#2

Updated by Alexander Stehlik over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF