Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

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.

Testing Instructions

  • Open several backend pages (weblinks list, control panel with the weblinks quickicon).
  • On the frontend, open a weblinks category as a user with edit rights and check the edit / checked-out icons.

Expected result

Everything works as before; no SiteApplication is created in the backend.

Actual result

A SiteApplication object is created whenever the component is booted.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment