Quantcast
Channel: Issues for Drupal core
Browsing index pages (306077 articles)
↧

Refactor dropbutton markup

Problem/MotivationThe dropbutton CSS is overcomplicated and hard to manage. It uses JS to flip the dropdown when overflowing (this can now be done with CSS). Proposed resolutionMuch smaller and simpler...

View Article


Toggleable public/private upload

Problem/MotivationA file field's upload destination (uri_scheme) is a storage-level setting, and it is locked once the field has data. Every file in a field is therefore either public or private. Sites...

View Article


Running hook_requirements() on all admin pages is very expensive

Problem/MotivationI've noticed that the admin/config page takes a lot of time to load on a large project with a lot of contributed modules enabled. The reason for this turned out to be the check for...

View Article

Chunk cache writes in EntityLastInstalledSchemaRepository

Problem/MotivationThis seems to be hitting MySQL allowed packet or similar limits on gitlab CI.Steps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI...

View Article

Using partially synchronized image fields causes validation errors and PHP...

Problem/MotivationWhen saving a moderated node translation that has an image field with a file/fid property that is not translatable, the following error message and log notices occur:Error...

View Article


Image may be NSFW.
Clik here to view.

State required asterisk doesn't show

Problem/MotivationWhen using state required, the asterisk doesn't show.Proposed resolution- Modify state.js on required to add classes "js-form-required form-required" on label or legend.Remaining...

View Article

ClassWriter race condition causes ParseError during parallel PHPUnit test...

Problem/MotivationWhen running PHPUnit tests concurrently across multiple worker processes (for example, using https://github.com/Pronovix/testrunner, ParaTest, or other parallel test runners), test...

View Article

Update autoload classmap for Symfony runtime and etc.

Problem/MotivationDrupal includes some files in the autoload classmap section of core/composer.json that we know are loaded on every request - this avoids having to locate the files and cache them in...

View Article


Do not override container services at runtime

Problem/MotivationFollowup from #3583505: Use Symfony PhpDumper instead of a serialized array container structureDrupal containers are not completely frozen; we override Symfony's Container::set()...

View Article


Introduce email plugins

Problem/MotivationPart of #1803948: [META] Adopt the symfony mailer component, adds an plugin.manager.email service to the dependency injection container.The scope of this issue:There are two...

View Article

Document how to convert a function in a .module- or .theme-file to an object...

Problem/MotivationThe .module in modules, and .theme-file in themes have historically been used as the homes for many functions. These have been phased out in favor of Object Oriented Programming (OOP)...

View Article

[experiment] Explore paratest to run our phpunit tests in parallel

Problem/Motivationrun-tests.sh is hard to maintain codeIts a wrapper around phpunit, which caused many bugs in the pastProposed resolutionTry to run https://github.com/brianium/paratest with kernel...

View Article

PHPUnit 13.2 - Replace expectExceptionMessage() with...

Problem/MotivationPHPUnit 13.2 deprecates TestCase::expectExceptionMessage() in favor of TestCase::expectExceptionMessageIs() (stricter) or TestCase::expectExceptionMessageIsOrContains() (equivalent to...

View Article


Use Symfony PhpDumper instead of a serialized array container structure

Problem/MotivationInspired while thinking about #3571858: Optimize OptimizedPhpArrayDumper further I realised we can make even bigger savings by swapping to Symfony's PhpDumper. This means we don't...

View Article

Deprecate KernelTestBase::keyValue

Problem/MotivationFollow-up from #3613347: Re-use container in kernel tests and #1411074: Allow kernel tests to share the test environment.We are moving towards kernel tests sharing a...

View Article


Improvements to class auto-wiring

Problem/MotivationThe symfony container provides a mechanism for instantiation of services, where a class is created once and that single instance is used for all consumers of the instance. It provides...

View Article

PHP 8.5 deprecation when layout_builder_blank components have no region

Problem/MotivationOn Drupal 11.3.18 with PHP 8.5, saving and viewing content with Layout Builder enabled but no section selected produces repeated deprecation warnings:Deprecated function: Using null...

View Article


Update CKE build script to allow a private path

Problem/MotivationCKEditor's LTS versions are closed source. Therefore, updating Drupal to new releases of these LTS versions involves cloning the appropriate private repo locally and building it from...

View Article

Image may be NSFW.
Clik here to view.

Make user roles accessible through REST APIs and the user edit form, if the...

Problem/MotivationIt would be ok to allow users to view their own roles, through the UI at their user edit form, or through JSON:API / GraphQL. Viewing other roles shouldn't be possible as it would be...

View Article

[meeting] 2026-10-07 core mailer beta planning

The group went through comments on the issue #3539651: Introduce email plugins and on the merge request. It was decided to drop the module and key properties from the plugin definition. There might be...

View Article
Browsing index pages (306077 articles)


Latest Images