Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget keSearchTrendingSearchphrases does not work in v12 #170

Closed
derhansen opened this issue Jun 30, 2023 · 0 comments
Closed

Widget keSearchTrendingSearchphrases does not work in v12 #170

derhansen opened this issue Jun 30, 2023 · 0 comments

Comments

@derhansen
Copy link

  • The widget throws an exception when adding it to the dashboard. Reason for this is the widget registration in Services.php, where->arg('$backendViewFactory', new Reference(\TYPO3\CMS\Backend\View\BackendViewFactory::class)) is missing and ->arg('$view', new Reference('dashboard.views.widget')) should be removed. View usage is deprecated in v12.
  • If the initial problem is fixed, the chart fails with an array to string conversion exception, because TrendingSearchphrasesDataProvider does not meet the return value requirements for ListDataProviderInterface (should be a simple list like ['item 1', 'item 2', 'item 3']). Obviously, there is no custom widget class available for this widget and therefore ext:dashboard widget class/template is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant