Quantcast
Channel: Issues for Drupal core
Browsing all 293360 articles
Browse latest View live
↧

Document standards for config files

Problem/MotivationOther issues have established standards for configuration files and filenames. Can find by searching for issues and change records. But should be all in one place.Proposed...

View Article


Expose Layout Builder data to REST and JSON:API

Problem/MotivationWhen accessing Layout Builder overrides via REST (i.e. when accessing an overridden entity's layout field), the contents of sections are empty.Proposed resolutionAdd a normalizer for...

View Article


Server 404 error shown instead of invoking Drupal for certain file extensions

It seems since Drupal 8.7 if you access certain file extensions that don't exist as files on the server show the webserver 404 error rather than invoking drupal to handle the 404E.g. on a standard...

View Article

Incorrect method names for dataProviders

Some of the code in core does not follow the phpunit standards described here The Task is to rename the functions and dataproviders to fix thisd8/core$ grep -nriI "\* @dataProvider" *...

View Article

options_allowed_values() cache pollution

Problem/MotivationUnder certain circumstances, it is relatively easy to cause cache polution for options_allowed_values's drupal_static.Steps to reproduceIn custom entity: public static function...

View Article


Image may be NSFW.
Clik here to view.

File upload field and remove selected broken when one of many files is invalid

Steps to Reproduce:1. Create a file field that accepts more than 1 file or infinite 2. Add some permitted file extensions 3. Go to the form 4. Upload multiple files at the same time with some files...

View Article

Add a migration source plugin for JSON:API

Problem/MotivationWe have source plugins for Drupal 6 and Drupal 7, but not for Drupal 8. Instead of implementing, and then maintaining, a source plugin for Drupal 8 and later, let's create a source...

View Article

Ajax binding should apply to dynamic elements

Problem/MotivationDOM may be updated by various front end, back end or other ajax actions. Currently when an element with the class ".use-ajax" is added after the initial page load it usually isn't...

View Article


Only create blocks in FieldBlockDeriver for entities that can be customized...

Problem/MotivationSince having lots of block derivatives has various implications for performance, it would be great to only create field blocks for entities that are customised with layout builder.I...

View Article


Show update notifications only with permission "administer software...

Problem/MotivationCurrently the update notification ("Update available") is shown to all users with the permision "administer site configuration", while there is already a permission "administer...

View Article

Start running PHPStan on Drupal core (level 0)

Problem/MotivationI'm finding more and more incomplete or wrong type hints with PHPStan. We are running PHPStan on our private code base, but it complains about type mismatches due to Drupal core not...

View Article

Add permissions to the update.module to hide warnings

Some users who have the authority to administer the site might overreact to the scary red messages that show up on the screen if they bump into the admin/logs/updates page or module listing page.This...

View Article

Add an APCu classloader with a single entry

Problem/MotivationHave been meaning to open this issue for years now. Latest reminder was bojanz linking to https://github.com/composer/composer/pull/5174#issuecomment-208824818The apcu classloader...

View Article


/admin/content results into "The website encountered an unexpected...

This is happening when I try to install a new site on a multi-site Drupal installation where all other sites work fine. ErrorTypeError: Unsupported operand types: array + null in...

View Article

System updates are executed without priority

Problem/MotivationUnder circumstances system updates will not be executed as the first ones even if there are no dependencies preventing this. However there are cases where the system and the DB should...

View Article


Remove the DrupalMediaLibrary::isInternal() method, which returns the same...

The DrupalMediaLibrary::isInternal() returns the same value returned from the method implemented by the parent class, CKEditorPluginBase::isInternal().DrupalMediaLibrary::isInternal() can be removed.

View Article

After D9 upgrade editor toolbar does not show in many multi-lingual node edit...

Problem 1I upgraded a D8 multisite to D9.CKeditor toolbar works fine on the single-language sites, but in the multilingual site the CKeditor toolbar doesn't show up in most of the node edit forms. :(I...

View Article


The DrupalMediaLibrary class uses the $moduleExtensionList property when the...

The DrupalMediaLibrary class has the $moduleExtensionList property, while its parent class has the $moduleList property. Both the properties are used to contain an instance of the extension.list.module...

View Article

Update or rewrite Coding standard workflow documentation

Searching how to install and set phpcs in a Drupal project I found the issue #2744463 that adds these tools into composer, but the documentation doesn't advise about that.The issue notes the remaining...

View Article

Race condition in node_save() when not using DB for cache_field

Problem/MotivationWith a non-DB backed cache, updating nodes can result in stale data being in the cache due to a race condition. This is because when an entity is saved we open a new DB transaction,...

View Article
Browsing all 293360 articles
Browse latest View live


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