I
Problem/Motivation Visitors can classify a human visit whose referrer is an AI assistant (ChatGPT, Perplexity, and the list in visitors.ai_assistants.yml). Matomo also separates a visit made by an AI agent that renders the page in a browser. That is not a referrer, and it is not a classic crawler. Detection uses request headers (Signature, Signature-Agent, Signature-Input) or a user agent containing Agent-NovaAct/. The JavaScript tracker does not send anything extra. The tracking request, or…
I
Problem/Motivation I've been testing this module with FrankenPHP worker mode, and I get failures when we jump forward in time more than the session length, as this causes garbage collection to erase the user session. Let's disable garbage collection while this module is enabled. Claude says "GC runs on about 1 request in 100 (gc_probability: 1, gc_divisor: 100), so the failures are intermittent and look like flaky tests."
I
Drafted with AI, checked by the reporter. Description Since #3638570, deleting a project also deletes the owner's WissKI instances, databases and triplestores. All of it runs in the request of the delete form, one application after the other. Each WissKI delete calls Portainer, MariaDB, OpenGDB and Keycloak. A project with several WissKI instances may take longer than the web request is allowed to run. This was found in the review of #3638570 and has not been reproduced. Steps to reproduce…
I
Drafted with AI, checked by the reporter. Priority: critical: the failure is in a delete path and leaves it half done. The triplestore component is gone from the Manager, but its repository and its data stay in OpenGDB with no entity pointing at them. Description Deleting a triplestore sends DELETE /rest/repositories/{machine name} to the OpenGDB auth proxy and treats any 2xx answer as success. On dev the auth proxy answered 200 while rdf4j behind it was not reachable. The module then deleted…
I
Drafted with AI, checked by the reporter. Priority: major — a user who has no Nextcloud mount directory yet cannot get a WissKI: the demo project fails at once, and a WissKI created by hand fails the same way. There is no workaround for the user. Description Before a WissKI is created, the module creates the owner's Nextcloud mount directory /mnt/nextcloud-mounts/{user} in the Manager container. The mount root (/var/lib/scs/nextcloud-mounts on the host) belongs to root:root with mode 755, so…
I
Generated with the help of an LLM. Problem/Motivation Duplicate group relationships created before #3311280: Duplicate content is fixed remain in the database. They can cause content to appear multiple times in listings. Removing these relationships manually is tedious on affected sites. Steps to reproduce On a site with duplicate relationships, find a node attached more than once to the same group through the same relationship plugin. Proposed resolution Provide a CLI command to identify and…
I
Problem/Motivation One of my Drupal sites which uses search_api is spamming its logs with a lot of PHP warnings whenever a views page with search results is generated. The warnings are suppressed on prod, so they don't display, but the site is busy enough to generate several GB of these logs each day, which is not ideal :-) The site runs on PHP 8.4. prod|https://site|1794866998|php|192.178.6.105|https://site/url?query||0||Warning: Undefined property: Drupal\views\ResultRow::$_object in…
I
The issue summary was written by me with my meat-hands, but the MR's initial version was generated by an LLM. Problem/Motivation drush si has the mighty --existing-config flag, so you can install from existing config (a feature core has long supported). dr install should gain this capability as well. Proposed resolution Add a --config or --existing-config or --from-config flag to dr install. Remaining tasks Add it, with tests. Release notes snippet TBD
I
Problem/Motivation AnimatedSvgTags::getTags() and AnimatedSvgAttributes::getAttributes() in src/Svg declare no return type. Symfony's DebugClassLoader reports a deprecation for both: enshrined/svg-sanitize may add a native array return type, which would then be a fatal error here. Found on 1.0.x at 3ac9195, on fresh installs of Drupal core 11.4.12 and Drupal CMS 2.2.9. Steps to reproduce N/A, this is a task. Proposed resolution Declare : array on both methods. Remaining tasks ✅ File an issue ❌…
I
Problem/Motivation Calling the ai_media:generate_media tool with an unknown generator returns a message that shows " around the generator id instead of a plain double quote. The tool came in #3637783. The " above is the HTML entity text the tool really returns, written here on purpose: it is the bug, not a typo in this issue. Cause: src/AiMediaGenerateMedia.php, around line 134, puts quotes around the generator id in a message that is escaped again later. Found on 1.0.x at 3ac9195, on…
I
Problem/Motivation config/install/ai_media.settings.yml sets langcode: en on line 1, but nothing in these settings is translatable. Drupal core 11.4 logs a deprecation for that. Found on 1.0.x at 3ac9195, on fresh installs of Drupal core 11.4.12 and Drupal CMS 2.2.9. Steps to reproduce N/A, this is a task. Proposed resolution Drop the langcode line from config/install/ai_media.settings.yml. This is for new installs; no update hook. Remaining tasks ✅ File an issue ❌ Addition/Change/Update/Fix ❌…
I
Problem/Motivation With the admin interface in Arabic, the characters left counter under the description of a Generate with AI form stays empty. The counter came in #3634868. Drupal.formatPlural() returns undefined for the counter string while it has no Arabic translation yet. See js/ai-media.admin.js, around lines 85 to 96. Found on 1.0.x at 3ac9195, on fresh installs of Drupal core 11.4.12 and Drupal CMS 2.2.9. Steps to reproduce On a site with AI Media and a generator set up, enable Arabic.…
I
This comment was drafted by an LLM before it was reviewed by me. Problem/Motivation Photo Metadata AI always tells the model "Never identify a person by name." Sites that already know who is in a set of photographs, such as the speakers of the event a gallery comes from, can pass those names as background with hook_photo_metadata_ai_background_alter(), but the model can never use them, so alt text for a lone speaker on stage reads "A smiling woman sits on stage" instead of naming her. Proposed…
I
Drafted with AI, checked by the assignee. Description When a triplestore component is deleted, SodaScsTriplestoreComponentActions::deleteComponent() removes the owner's repository grants (READ_REPO_{machine name}, WRITE_REPO_{machine name}) from their OpenGDB account, or deletes the account when these were its only grants. The check that picks between the two compares the grant list itself with a number, so the account is never deleted, and the reduced grant list can reach OpenGDB as a JSON…
I
Problem/Motivation For Drupal 12 readiness and current core patterns: `SocializerBlock` still uses a `@Block` annotation. Plugins should use PHP attributes (`#[Block]`); annotation discovery is deprecated for later removal (see https://www.drupal.org/node/3395575). `hook_theme` is procedural in `socializer.module`. Since Drupal 11.1, hooks should use OOP `#[Hook]` classes (see https://www.drupal.org/node/3442349). The `socializer` Twig template uses `attributes.addClass()` but `attributes` is…
I
Drafted with AI, checked by the reporter. Description When a project is deleted, its JupyterHub and WebProtégé project go with it, but its WissKI stacks and the SQL and triplestore components that belong only to the project stay. Project owners then have to find and delete them one by one, or they keep running without a project. Current behavior SodaScsProjectDeleteForm::submitForm() removes members, the Team Folder mounts, JupyterHub and WebProtégé, then the project. WissKI stacks and loose…
I
Problem/Motivation The module has Kernel tests in tests/src/Kernel but no Unit tests. Logic that needs no Drupal bootstrap is only covered through slower Kernel or functional tests, or not at all. Steps to reproduce N/A, this is a task. Proposed resolution Add tests/src/Unit with mocked dependencies for value objects, file name and directory building, SVG sanitizing, mapping, settings defaults and exception messages. Add Kernel tests where a real gap needs the container. No real AI provider…
I
Problem/Motivation The functional acceptance tests in tests/features are Cucumber BDD features run with Playwright in CI. Many steps are custom step definitions kept in this module. For a general-use module like this one, webship-js with @webship-js/drupal-core-steps and @webship-js/drupal-cms-steps is the better standard: shared, maintained Drupal steps that any contributor can use. Steps to reproduce N/A, this is a task. Proposed resolution Adopt webship-js, @webship-js/drupal-core-steps and…
I
Problem/Motivation There are some recent blog posts about how to implement dark mode in theme and module code. Dark Mode Toggle and other several modules have their own way of toggling dark mode and don't follow the new recommendations. Proposed resolution Create a toggle that lets the user configure classes and attributes to apply to <html>
I
Generated with the help of an LLM (Claude Code); I reviewed and tested it. Problem/Motivation Prompts sent through this provider can carry text from site content or visitors. The default presets left the CLI tools' own tools available: Claude Code could read files, run commands and use MCP servers, and in DDEV the relay started every tool in the user's home directory. A prompt injection could therefore read files from the developer's machine. I confirmed this: with Read available, Claude read a…
I
Problem/Motivation Drupal 12.0 should require Symfony 8.2, but it is not yet available. Symfony 8.2 Beta2 is available: https://github.com/symfony/symfony/releases/tag/v8.2.0-BETA2 Proposed resolution Update to Symfony 8.2.0-BETA2 Remaining tasks API changes TBD Data model changes TBD Release notes snippet Symfony has been updated to v8.2.0-BETA2. It will be updated again to the stable v8.2.0 release prior to the release of Drupal 12.0.0.
I
Problem/Motivation There are different tools to derive a location of a visitor. Steps to reproduce Proposed resolution Create a Plugin for VisitorsLocation. A no-op plugin that does not set a location. A browser language plugin. Other modules can extend how the location is set. Remaining tasks User interface changes API changes Data model changes Remove drupal/maxmind and geoip dependencies. A new project will create a new location plugin for maxmind geoip.
I
Generated with the help of an LLM. Problem/Motivation The "Upload | Generate with AI" switch is only on the Add media page and in the Media Library. AiMediaAddPage::alter() skips media that are not new, so the media edit form has no way to generate a new file. If an editor is not happy with a generated image after saving it, the only option is to create a new media item and update every place that references the old one. Steps to reproduce Generate an image with AI from the Add media page and…
I
Generated with the help of an LLM. Problem/Motivation ParamConversionEnhancer::onException() converts a ParamNotConvertedException into a NotFoundHttpException with priority 75. public function onException(ExceptionEvent $event) { $exception = $event->getThrowable(); if ($exception instanceof ParamNotConvertedException) { $event->setThrowable(new NotFoundHttpException($exception->getMessage(), $exception)); } } /** * {@inheritdoc} */ public static function getSubscribedEvents(): array {…
I
Problem/Motivation Markup in a description isn't sanitized before being run through the markdown to HTML twig filter, meaning that sometimes you get HTML rendering in class and method descriptions. See: https://project.pages.drupalcode.org/-/doctum_documentation/-/jobs/13409... Steps to reproduce Proposed resolution Remaining tasks User interface changes API changes Data model changes
I
Problem/Motivation It looks like @Event tags are used to tag methods that provide events to the Drupal events system. Here's an example from the current API: https://api.drupal.org/api/drupal/core%21modules%21layout_builder%21src%... In the Doctum cache, the @Event tag just shows up as an empty array under "tags", which makes sense because it wraps no content.But that does mean we can just use its presence as a flag to start doing interesting thing. "constants": {…
I
Problem/Motivation If you are getting to admin/appearance/settings/default_admin the active accent color is not apparent. In Safari you also don't see any outline at all for the active accent color when you are changing it (safari.mp4), while in Edge and Firefox you see an outline after you have selected and clicked your new desired accent color (edge.mp4, firefox.mp4). But that outline is hidden again in those two browsers as soon as you are changing any other setting on the page by click.…
I
Problem/Motivation I've opened that issue already over in the Gin queue: https://git.drupalcode.org/project/gin/-/work_items/3506311. Over the course of the last few days I was able to slowly catch up again after being out of the loop for the last few months except for my attendance in the weekly ux meetings. The styling of primary and secondary local tasks in the Default Admin Theme has two main problems: Color contrast wise, it is not meeting WCAG2.2 SC1.4.11 You have shapeshifting objects,…
I
Problem/Motivation Intoruced an autowire fault when switching the ActionsForm. Apparently we do not have a test load of this page as part of the CI jobs. Symfony\Component\DependencyInjection\Exception\AutowiringFailedException: Cannot autowire service "Drupal\s3fs\Batch\S3fsRefreshCacheBatch": argument "$s3fsRefreshCacheBatch" of method "Drupal\s3fs\Form\ActionsForm::__construct()". Check that either the argument type is correct or the Autowire attribute is passed a valid identifier. Otherwise…
I
Generated with the help of an LLM. Problem/Motivation The status report (/admin/reports/status) is where Drupal and contributed modules say something is wrong: pending database updates, cron not running, trusted host patterns missing, a search server down. Teams only see it when someone signs in to that site, so Sentinel cannot show it across many sites. Proposed resolution Collect the runtime requirements of every enabled module (hook_requirements('runtime'), and hook_runtime_requirements() on…