Quantcast
Channel: Issues for Drupal core
↧

Layout Builder attempts to builds section to determine if it is disabled

Problem/MotivationAs long as the module is installed, \Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay::buildMultiple() will run for every entity displayed on the site. The concept of...

View Article


Drupal Usability Meeting 2025-07-11

This meeting takes place every Friday at 14:00 UTC (currently 6:00am PT, 9:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...

View Article


Stale values can be displayed by the Layout Builder UI but are saved correctly

Problem/Motivation#3033686: Saving Layout override will revert other field values to their values when the Layout was started. fixes the actual data loss, this issue is about how the UI *implies* there...

View Article

Factor {users_field_data}.access out of the table and entity caches

The problemFollow-up from: #1488630: Who's online block doesn't work with swappable session backends and lazy session creation and #40545: Improve speed by avoiding unnecessary updates in...

View Article

Convert template_preprocess in form.inc

Problem/MotivationPart of #3504381: [meta] Convert Template Preprocess hooks to OOP equivalentSteps to reproduceProposed resolutionConvert all template_preprocess functions in form.inc to a new...

View Article


Support CacheOptionalInterface in BlockViewBuilder, use it in language...

Problem/MotivationThe language switcher block is currently not cacheable at all by setting max-age 0. This bubbles up and prevents things like respecting max age for the internal page cache, since any...

View Article

Access denied on System Admin Menu Block Access Check

Problem/MotivationTrying to create a menu link with the parent set to system.admin and the route name set to a custom route. On my routing.yml the controller I am pointing to is using: _controller:...

View Article

Image may be NSFW.
Clik here to view.

Toolbar tab behavior is inconsistent when clicked.

Problem/MotivationToolbar tabs aren’t working properly, see the unexpected behavior below.Steps to reproduce1. Install a fresh Drupal 11.x site 2. Log in as admin 3. Click on the toolbar menu tabs —...

View Article


Settings form for pseudofields

Problem/MotivationContrary to fields, adding settings form to pseudofields is not supported by core. While in principle this can be done in contrib, it is just a PITA to invent that engine in every...

View Article


[regression] missing menu active trail since Drupal 9.5.9

Problem/MotivationSince #3277784: copyRawVariables should support default route parameters menu active trail information is missing from menu items under certain circumstances. In my case I've got a...

View Article

h4 in template_preprocess_field_multiple_value is not valid as child of th

API page: https://api.drupal.org/api/drupal/core%21includes%21theme.inc/function/t...In forms using re-orderable multiple value field, an <h4> with .label is used as a child of a <th>,...

View Article

Convert template preprocess in system.module

Problem/MotivationSee #3504381: [meta] Convert Template Preprocess hooks to OOP equivalentSteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData...

View Article

The known string should be the first argument passed to hash_equals()

Problem/MotivationAfter discussing this with the security team, I'm publicly reposting the following issue :Drupal core uses hash_equals() in multiple places. The way this function is used does not...

View Article


Translation links and/or language switcher don't work as expected

Problem/MotivationI have two domains, say www.example.com for English and www.example.nl for Dutch. When a user logs in to one of these domains, I want them to stay on that domain to administer and...

View Article

FileFieldTestBase::assertFileEntryNotExists() not properly typehinted,...

Problem/MotivationIn FileFieldTestBase, unlike ::assertFileEntryExists(), ::assertFileEntryNotExists() doesn't have a default $message parameter, therefore requiring the calling class to at least...

View Article


Datetime and Datelist elements should render as fieldsets

Problem/Motivationdatetime-wrapper.html.twig element label uses an <h4> tag instead of the <label> tag.This is problematic for assistive tech, since the "label" is not associated with...

View Article

Add arity key on field data returned by jsonapi

Problem/Motivation#2864680: Spec Compliance: JSON API's schema disallows duplicate resource identifiers. EntityReferenceItems which reference the same entity must have an "arity" added an arity key to...

View Article


Remove usability maintainers from core given recent introduction of UX Manager

Problem/MotivationUX topic maintainers have long been inactive, other than Cristina Chumillas who was recently promoted to UX Manager alongside Emma Horrell.Steps to reproduceProposed resolutionRemove...

View Article

Using instances of classes defined by modules in service container parameters...

Problem/MotivationDrupal core is unable to serialise/unserialise objects defined by extensions (modules, etc) in the service container, especially requests loading the warm (cached) container.I've...

View Article

Improve run-tests.sh output when deprecations and warnings are triggered

Problem/MotivationPHPUnit does not include deprecations nor warnings in the JUnit output.See Include deprecation/warning failures in JUnit logsrun-tests.sh in the parent issue #2905007: Allow...

View Article

Deprecate Migrate Drupal UI

Problem/MotivationTrack the steps needed to deprecate extension Migrate Drupal UI. See Remove a core module and move it to a contributed project of the deprecation policy.The removal of extension...

View Article


Image may be NSFW.
Clik here to view.

File formatter render absolute url to file

Problem/MotivationCurrently, file and image field's field formatter doesn't have support to render/display absolute URL.ImageUrlFormatter and UrlPlainFormatter classes doesn't have flexibility to...

View Article


Remove core/drupal.ajax dependency from big_pipe/big_pipe

Problem/MotivationBigPipe is a primary user of the Ajax API. We will remove the dependency between big_pipe.js and ajax.js as beginning of decoupling from the Ajax API.Proposed resolutionWe create a...

View Article

Duplicate content shown in /admin/content if the user account is translated

Problem/MotivationThe title says it all. I have a multilingual Drupal 8.7 site and the contents are shown N times if the user account is translated. In fact, it gets even more fun: if the content is...

View Article

Unreached test code in ThemeTestSubscriber

ThemeTestSubscriberConsistently using ContainerAwareTrait in core has unveiled 3 cascaded bugs hiding each other from detection see https://drupal.org/comment/8643347#comment-8643347 (2)The relevant...

View Article


ConfigurableLanguageManagerInterface::getLanguageConfigOverride() and...

Problem/MotivationThe methods ConfigurableLanguageManagerInterface::getLanguageConfigOverride() and LanguageConfigFactoryOverrideInterface::getOverride() (which calls the former) return a config...

View Article

Improve text on database update page

Problem/MotivationFrom comment #2099099-52: Indicate maintenance mode status on database update pageAside that it might be probably a good idea to rework the micro copy of the Drupal database update...

View Article

Entity view/form mode formatter/widget settings have no translation UI

Problem/MotivationAdd missing configuration translation interface.There are several pieces of information from the Entity/Field system, which may include translatable strings, but which prior to this...

View Article

Allow deprecating theme suggestions

Problem/MotivationSometimes it is necessary to deprecate theme suggestions. For example, #2831144: Bundle / field name / view mode theme suggestions can conflict needs to remove some of the...

View Article



Deprecate node_access_view_all_nodes()

Problem/MotivationPart of #1577902: [META] Remove all usages of drupal_static() & drupal_static_reset() effort to remove drupal_static()& drupal_static_reset() from...

View Article

Warning: Undefined array key "name" in...

Problem/Motivation When rebuilding Drupal's cache (e.g., using drush cr), the following warning is triggered: Warning: Undefined array key "name" in...

View Article

[no-commit] Define a Rector rule to convert test annotations to attributes

Problem/MotivationIn PHPUnit 12, we have to replace test annotations with attributes. As noticed in #3417066-120: Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency,we can't mix PHPUnit...

View Article

Fatal error "getCacheTags() on null" on admin/content Views page

Problem/Motivation/admin/content view is not working - fatal error.Dblog reports 3 different errors:Error: Call to a member function getCacheTags() on null in...

View Article


[CI] Switch the default test environment to PHP 8.4 and MySQL 8.4

Problem/MotivationPHP 8.4 has been out for nearly half a year now, so I think we could switch the default test environment to use it.Steps to reproducehttps://packagist.org/php-statisticsProposed...

View Article

Missing fallback plugin configuration schemas

Problem/MotivationDrupal core provides schemas for the configuration of several plugins and plugin types, but fails to provide fallbacks for some of them. This means that if the schema naming format is...

View Article

Image field default value not shown when upload destination set to private...

Problem/MotivationIn an image field's configuration, you can specify a default image to be displayed as a fallback if the content editor does not upload an image to that field.When an image field's...

View Article


Convert test annotations to attributes in modules' Functional tests

Problem/MotivationReplace annotation-based test metadata with PHP attributes.Please DO NOT change the MR here manually. The patch is automatically generated by the MR at #3446380: [no-commit] Define a...

View Article


[meta] Convert Template Preprocess hooks to OOP equivalent

Problem/Motivationtemplate_preprocess_HOOK can now be defined directly on hook_theme. Let's move core implementations to direct callbacks.Steps to reproduceN/AProposed resolutionConvert them to the...

View Article

If you don't want to translate your URL alias, the original URL alias...

Problem/MotivationIf you don't want to translate your URL alias, the original URL alias won't work with your translations.Steps to reproduce: Per #1711. Enable content translation and language...

View Article

Build and collect htmx headers

Problem/MotivationHTMX supports 11 custom response headers. Expecting Drupal developers to learn all the names and data requirements of all those headers would add to Drupal's learning curve.Proposed...

View Article

Multiple load path aliases without the preload cache

Problem/MotivationInspired by @berdir in #3340999: The path-alias preloading is not used if the "Enforce clean and canonical URLs" option is enabled.We currently have a path preload cache, added by me...

View Article


Adjust Layout Builder permission checking for inline blocks once more...

Problem/MotivationWe currently have granular inline block permissions in Drupal, allowing to precisely set which custom block bundles can be created / edited by which user role. Unfortunately,...

View Article

Twig debug output does not display all suggestions when an array of theme...

Updated: Comment #206Problem/MotivationTwig debugging output is supposed to show all template suggestions. Currently, the debug output does not show all the template suggestions that the Drupal render...

View Article


Config translation needs to be validated on input for XSS (like other t...

Ingested t() strings are normally validated on input for XSS (as opposed to user input that's filtered on output)For example in D7:...

View Article

Move some detail from Package Manager's hook_help into a validator...

Problem/MotivationSpun off from #3346707: Add Alpha level Experimental Package Manager module, specifically this MR comment.Package Manager's hook_help implementation has a lot of detail in it. This is...

View Article


Add an API for importmaps

Problem/MotivationImportmaps allow a browser to resolve naked ES imports.e.g. import React from 'react'; Ordinarily a browser doesn't understand how to resolve that, but with an import map it...

View Article

[PP-1] Exporting content should also support exporting the content's...

Problem/MotivationThis is a high-priority follow-up to #3532694: Add a command-line utility to export content in YAML format, which lays the foundation for exporting default content in core.In that...

View Article

Update taxonomy term base fields (parent and weight) to be configurable on...

Problem/Motivation1. As stated in #2751001: Expose configuration for Relation, users, such as site builders, are unable to control the visibility of Relations for a term via the Manage form display...

View Article

Unable to perform database update on 11.2.2 -...

Hello all,A routine database update from Drupal 11.2.1 to 1.2.2 fails because of some Block Module misconfiguration:Here is the error message on Drush :[error] Update aborted by:...

View Article


[meta] Post OOP hook conversion test module cleanup

Problem/Motivation#3495943: Handle module preprocess functions as OOP hooks Preprocess is in! There are some test .module files that can likely be deleted. The only thing in them is a helper function...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>