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

Provide a way to deprecate form API array value keys

Problem/MotivationFrom #3497021: ConfirmFormInterface::getFormName() serves no purpose in ConfirmFormBase: I discussed with @longwave - the thing that's tricky here is that we are only removing this...

View Article


Image may be NSFW.
Clik here to view.

Views interface - change "Show: Content" to "Show: Content...

It's bugged me for a long time that in the "Format" section of the views interface, we don't use the term "view mode" when selecting between "Content", "Fields, "Search results" and other options. The...

View Article


Log changes to maintenance mode

Problem/MotivationIt's useful to know when a site went into and came back out of maintenance mode, so it would be nice if this information was added to the admin log when it happened.Steps to...

View Article

Html::cleanCssIdentifier() calls preg_replace() with NULL

Problem/MotivationFuzzing reveals that Html::cleanCssIdentifier() triggers a deprecation when called with a malformed string: DEPRECATED preg_replace(): Passing null to parameter #3 ($subject) of type...

View Article

Only file JavaScript assets with preprocessing enabled can be optimized.

Problem/MotivationAn error is thrown, when a library is defined using "preprocess: false, but ommiting "minified":example: version: 1 remote: https://example.com license: name: Example url:...

View Article


Remove @nest from claro stylesheets

Problem/MotivationThis is part of the CSS modernization initiative.Currently consolidating several into 1Steps to reproduceNAProposed resolutionRemove @nest from claro stylesheetsRemaining tasksUser...

View Article

Image may be NSFW.
Clik here to view.

Users with just create content permission don't know publishing status

Problem/MotivationEver since time began it has been confusing for users who don't have the "Administer Content" (aka "Administer nodes") permission, because they don't see if saving a new node will...

View Article

View Keyword Search error

My site is Drupal 10.4.6I have a View that includes a Keyword Search. The View has AJAX enabled. Recently when I try a search I get the following error:An error occurred while attempting to process...

View Article


TypeError: strlen(): Argument #1 ($string) must be of type string, array given

I am seeing an error with big pipe, call stack below.Error shows Drupal core 10.4.5 and 10.4.6. PHP 8.2. both on Linux (Ubuntu) and Windows systems. Error appears after an upgrade from a much older...

View Article


Image may be NSFW.
Clik here to view.

[CI] Report PHPStan baseline statistics in job

Problem/MotivationA very simple script to output simple statistics about PHPStan baseline contents.Proposed resolutionAdd the script to the GitLabCI PHPStan job.Remaining tasksUser interface...

View Article

[policy, no patch] Defer disruptive 11.3 deprecations for removal until 13.0

Problem/MotivationDecide when to defer deprecations in this cycle.During the Drupal 9.5.x cycle, we tried to defer as many issues with deprecations as possible to 10.1, this meant quite a lot of issues...

View Article

How to use image attributes like width and height in...

Hello drupal.org!In views when results rewrites with custom text it's posible to use image atributes, like:{{ field_imagefield__alt }} == Raw alt{{ field_imagefield__title }} == Raw title{{...

View Article

Problems with paragraphs in a content moderation flow on a jsonapi powerd...

Problem/MotivationOn our site we use Drupal solely to manage content and utilized Content moderation for this. Also node structure is managed through Paragraphs, both standard and custom. We use...

View Article


Cache tags management micro-optimisations

Problem/MotivationThere are 2 small performance hogs in the class \Drupal\Core\Cache\Cache1. PHP's array_unique does not scale well with lists bigger than 2 items in:public static function...

View Article

Image may be NSFW.
Clik here to view.

Image width/height from fallback image breaks responsive images

Problem/MotivationWhen configuring responsive image styles using the srcset and sizes attributes (Resolution switching), Drupal uses the fallback image’s width/height, rather than the dimensions of the...

View Article


BulkForm fails to redirect to the expected page if destination query...

Problem/MotivationWhen a view displays bulk form field, we are able to do bulk actions on the listed content. If the page has a destination query parameter set, some actions (which require an...

View Article

Views RSS row plugin incorrectly assumes links are relative

Problem/MotivationWhen I create an RSS Feed view and assign the RSS setting "Link" to my path field added to the View, I'm receiving the following (example):The website encountered an unexpected error....

View Article


[meta] Refactor the installer, (multi)site management, and pre-container...

Compared to Drupal 7, a lot of the codebase in Drupal 8 has been transformed into loosely coupled components, receiving their dependencies from a DIC instead of having to pull them from...

View Article

Remove usages of FieldItem::applyDefaultValue()

Followup for #2164601: Stop auto-creating FieldItems on mere reading of $entity->field[N].Patch over there has this in FieldItemList::applyDefaultValue() :if (no default value is specified for the...

View Article

[Meta] Audit the database layer for security and ensure it is unit tested

Problem/MotivationWe find bugs in the D7 database layer like the recent SQL injection bug.Proposed resolution- Audit the database layer for security - class by class - Ensure the database layer has...

View Article
Browsing all 295840 articles
Browse latest View live


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