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

Invalid service "dashboard.widget.t3extblog.latestPosts": class "TYPO3\CMS\Dashboard\Widgets\ListWidget" does not exist. #228

Closed
julian-angermaier opened this issue May 25, 2020 · 7 comments

Comments

@julian-angermaier
Copy link

TYPO3 10.4.3
After installing it crashed my backend. Installtool gave me this message in "check for broken extensions"

(1/1) Symfony\Component\DependencyInjection\Exception\RuntimeException
Invalid service "dashboard.widget.t3extblog.latestPosts": class "TYPO3\CMS\Dashboard\Widgets\ListWidget" does not exist.

Is this a general problem? it seems like the integration changed:
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.4/Breaking-90660-RegistrationOfWidgetsChanged.html

Thank You

@fnagel
Copy link
Owner

fnagel commented May 26, 2020

Which version of t3extblog are you using? Did you update the extension or TYPO3?

Probably some cache related stuff as the mentioned breaking change has been adapted for the extension, see this commit: 77ae7aa

The "latestPosts" widgets works for me in multiple installations:
image

@fnagel
Copy link
Owner

fnagel commented May 26, 2020

Please try clearing the cache in the "maintenance module" and try to remove and add the widgets from the dashboard.

@julian-angermaier
Copy link
Author

julian-angermaier commented May 26, 2020

I got a fresh installed 6.0.0 and TYPO3 Installation too. It crashes my backend. Clearing cache via Installtool returns 500 and database compare shows this message.
Bildschirmfoto 2020-05-26 um 15 25 39

@fnagel
Copy link
Owner

fnagel commented May 26, 2020

Just checked the yaml configuration keys and the related classes again. Looks good.

Did you install the core extension EXT:dashboard? See https://packagist.org/packages/typo3/cms-dashboard

@julian-angermaier
Copy link
Author

Thank You, EXT:dashboard fixed the "problem".
A dependency to this extension would be good :)

@fnagel
Copy link
Owner

fnagel commented May 27, 2020

Nice! Yeah, it's in the "suggest" part of composer (https://github.com/fnagel/t3extblog/blob/master/composer.json#L47), but it seems this needs a proper fix. Not sure how, but I hope to get some helpful replies here: https://twitter.com/felixnagel/status/1265662692603367428

@fnagel
Copy link
Owner

fnagel commented May 29, 2020

Created a ticket here: https://forge.typo3.org/issues/91531

fnagel added a commit that referenced this issue Jun 22, 2020
Needed as YAML service configuration will crash if dashboard extension is not installed.

See #228
See https://forge.typo3.org/issues/91531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants