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

Best way to influence the values returned on an entity's field...

For Commerce, I provided an override to the `getRelated` route for `commerce_product--{type}.variations.related`. This allows us to follow internal API logic for filtering valid variations. I have...

View Article


Missing NULL in hook_file_download() return documentation

Problem/Motivation * @return string[]|int * If the user does not have permission to access the file, return -1. If the * user has permission, return an array with the appropriate headers. If the * file...

View Article


Allow to merge AjaxCommands inside of AjaxResponse

Problem/MotivationWe want to merge an AjaxResponse with another AjaxResponse and this currently not possible. Inside of MediaLibraryWidget the code is returning an AjaxResponse. Our code is also...

View Article

Field creation error needs correct cleanup

Problem/MotivationWhen field creation via GUI is failed, you may have in your DB unused table(s).Steps to reproduceThe simplest way to imitate/reproduce the case is:in your DB create a dummy table with...

View Article

Add drupalGet() to KernelTestBase

Problem/MotivationKernel tests are significantly faster than browser tests (see #3041700: [META] Convert some tests into Kernel or Unit tests).Many browser tests only need to check something in the...

View Article


Create a dialog subform API

Problem/MotivationCurrently modal dialog subforms are used in many places in core and contrib, for example:Block layout page - placing blocks (core)Views UI forms (core)Layout Builder (core)Media...

View Article

Functional Javascript tests passing with false negatives and missing browser...

Problem/MotivationThe test-only job for MR 10539 for #3493671: Placing a block containing a form in navigation layout prevents layout builder from saving unexpectedly passed. Running the functional...

View Article

Try to simplify checks in AdminNegotiator

Problem/Motivation return ($this->entityTypeManager->hasHandler('user_role', 'storage') && $this->user- >hasPermission('view the administration theme') &&...

View Article


Media Library does NOT support Private Files at all

Problem/MotivationThere does NOT seem to be ANY way to utilize Private File System in Media Library (although documentation mentions that it is possible for D8.)Not at the Content Type Field Level via...

View Article


libraries-extend is not working for claro.

Problem/Motivationlibraries-extend is not working for claro.Steps to reproducelibraries-extend: claro/global-styling: - CustomTheme/NewLibrary Proposed resolutionRemaining tasksUser interface...

View Article

Easy way to bypass caching and aggregation with Drush or settings.php

Problem/MotivationIt used to require a lot of steps to disable caching, but #3278493: Make it easier for theme builders to enable Twig debugging and disable render cache (May 2023) allowed disabling...

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

Image may be NSFW.
Clik here to view.

Add playsinline option to Video media file formatter

Problem/MotivationCurrently there is no way to add the playsinline attribute on <video> elements being output by the new Drupal code Media module. The playsinline attribute is required for...

View Article


The CKEditor 5 toolbar is overlapping with the Admin toolbar

Steps to reproduce1. Go to any node create/edit page 2. Switch to Full HTML/ basic html format in ckeditor 3. Click on any component i.e paragraph or styles to make toolbar active 4. Scroll down until...

View Article

Protect pager against [] for the page

Problem/MotivationThe warning occurs during every use of the pager.parameters service and when the GET query is not page=1 but something array-like, e.g. page[]=1.This sort of query can easily happen...

View Article


Ensure all callers of UrlHelper::fromInternalUri() either operate on...

Problem/Motivation#2512452: Confirm form cancel button can lead to external domain added an exception when an external URI is passed to UrlHelper::fromInternalUri().This inadvertently fixed the...

View Article

isMultilingual() loads all languages just to check if there is more than one

Problem/MotivationFor fun, I'm currently trying to get rid of as many queries as I can on a simple site. And i noticed that isMultiple() loads all languages just to count them.Proposed...

View Article


Image may be NSFW.
Clik here to view.

Pager arrows should be easier to override in themes

Problem/MotivationThis was discovered in #3023242: Pagination/Pager style update. In this issue, the global pager styling is being restyled, including the arrows for First/Previous/Next/Last. However,...

View Article

Pager should redundant "first" and "last" links when...

The Drupal pager should remove redundant "first" and "last" links when displaying pagers that have fewer pages than the quantity limit (default: 9).Current pager*:first, previous, 1 2, 3, next, last...

View Article

Add pager also to the top of list '/admin/content'

Problem/MotivationFf you have several pages of content with a few dozen nodes per page on for example /admin/content the user has to scroll down the whole page (see long_list.png) to reach the pager...

View Article
Browsing all 300876 articles
Browse latest View live