User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This change was created with the help of AI (Claude Code).
WeblinksComponent::boot() registers the weblinkicon HTML service with new Icon($container->get(SiteApplication::class)). In the administrator, API and CLI, the container has no site application yet, so this creates a complete SiteApplication object (configuration, session handling, …) every time the component is booted, e.g. on every backend page with the weblinks menu, the quickicon or the dashboard, only to keep it in the icon service. The core components register their Icon service without an application (new Icon()).
The Icon constructor parameter is now optional and the service falls back to Factory::getApplication() when it is used; the component registers new Icon(). An unused $user variable in Icon::edit() is removed.
Everything works as before; no SiteApplication is created in the backend.
A SiteApplication object is created whenever the component is booted.
None