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

Improve query and cache API so that render() doesn't have to be called...

Problem/MotivationThe node module has very old code to add a cache context for the current user's node access grants inside a query alter.This was added in #2557815: Automatically bubble the...

View Article


Create AtLeastOneOf constraint

Problem/MotivationThere are a few issues (like #3441434: Add validation constraints to core.menu.schema.yml) that would love to have a AtLeastOneOf validator. Which would be really helpfull for config...

View Article


The simpleConfigUpdate config action should throw an exception if you try to...

Problem/MotivationIn #3439713: Deprecate using the simpleConfigUpdate action on config entities, and introduce a new setProperties action to replace the invalid use cases, we deprecated using...

View Article

Deprecate/replace hook_update_N() in favor of an object-oriented approach...

The current Drupal update framework (roughly: hook_update_N) is quite old. It is still firmly rooted in the procedural origins of Drupal. Also, it has several shortcomings. Some of those shortcomings...

View Article

Image may be NSFW.
Clik here to view.

Views contextual filter breaks when query parameter contains slashes

Problem/MotivationViews contextual filter break the page when value contains slashes if a views data export display is attached to the view...

View Article


[policy] Deprecate field_layout module and move it to contrib

Problem/MotivationField Layout module was in part deprecated by the later addition of Layout Builder module and it never matured out of its experimental stage. It is still in core as an experimental...

View Article

Deprecate NodePreviewController::title

Problem/MotivationIn #2691675: Replace deprecated entityManager() in ControllerBase descendents, we noticed that NodePreviewController::title() is not called once in our tests, despite actually being...

View Article

Add title to relationship code sample in views.api.php

API page: https://api.drupal.org/api/drupal/core%21modules%21views%21views.api.php...I used the relationship sample from within the code example in hook_view_data and didn't see my relationship in the...

View Article


Lazy builder broken (#type defaults not loaded)

Problem/MotivationWhen Drupal\Core\Render\Renderer::doRender() processes #lazy_builder callbacks the #type defaults are already loaded, so any element with a #type property will not be rendered...

View Article


Dropdown does not show desired arrow on open state

Problem/MotivationThe dropdown component does not show the desired arrow on open state, because the css is()-Function is not usable for pseudo elements (see...

View Article

Review/update $adminTags variable for new html elements to be allowed

Problem/MotivationXss::filterAdmin() is currently stripping out harmless elements (ie. the picture & source html elements that are part of the Core module Responsive Image). $adminTags sets the...

View Article

If nothing selected: Call to a member function uuid() on null in...

Problem/MotivationWhen a user clicks on "Insert selected" in the media library browser (e.g. within Ckeditor5) without selecting any media, the widget closes, and after the next page refresh, there is...

View Article

Fatal error when enabling CKEditor 5 syles. AssertionError:...

Problem/MotivationWhen I enable "Styles" in a CKEditor configuration I get a fatal error:AssertionError: assert(NestedArray::keyExists($subform, $parts)) in assert() (line 886 of...

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

Replace \Drupal:: with $this->container->get() in test classes that...

Problem/Motivation The test classes in the Basic Auth module are using static calls to \Drupal::, which does not follow Drupal's recommended dependency injection practices. This makes the code less...

View Article


Provide a Config Action to add a component in a layout

Problem/MotivationThere is currently no way to add or alter components in a layout via a recipe. We should have a config action that allows recipe to add or edit components in a layout. Proposed...

View Article

index.php randomly appears in friendly URLs

Problem/MotivationIntermittently, index.php appears in our friendly URLs and it's always in the same spot, right after the first slash like it would be if you weren't using friendly URLs. Example:...

View Article


Explicitly register template_preprocess callbacks in hook_theme()

Problem/Motivationtemplate_preprocess... functions are very unusual. They are the only thing in modules that's not prefixed by the module.#3495943: Handle module preprocess functions as OOP hooks is...

View Article

Image may be NSFW.
Clik here to view.

SDC `enum` props should have translatable labels: use `meta:enum`

Problem/MotivationEnum vales do not have (translatable) labels.We need human-readable equivalents, and those equivalents must be translatable (using Drupal's interface translation...

View Article

Image may be NSFW.
Clik here to view.

user module sends email containing HTML entities

Problem/MotivationWith the contributed module Symfony Mailer installed and configured in a Drupal 11.x site, site emails, including the password reset email, html-encode quotation marks and similar...

View Article
Browsing all 298950 articles
Browse latest View live


Latest Images

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