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

Module updates fail with “File Transfer failed, reason: Cannot copy”

Problem/MotivationI'm trying to update Drupal 7 modules in the normal way using update Manager. Drupal is not downloading the modules into the temp directory, but thinks it is. SO then it's deleting...

View Article


Move file upload validation from file.module to constraint validators

Problem/MotivationIn #2940383: Create FileFieldUploader service that unifies file upload logic of core's UI, REST module and JSON:API module we are trying to unify the logic for file field uploads....

View Article


[regression] missing menu active trail in Drupal 9.5.9

Problem/MotivationSince #3277784: copyRawVariables should support default route parameters menu active trail information is missing from menu items under certain circumstances. In my case I've got a...

View Article

When updating default layout for content type, update all contents

Problem/MotivationCurrently, when a change is made to the default layout for a content type, there might be nodes with overrides that won't load the default layout. So it requires manually editing the...

View Article

Warning: Undefined array key "#access" in language_form_alter()

Problem/MotivationSometimes $form[$langcode_key]['#access'] can be undefined and is better to check if it exists and not just if $form[$langcode_key] is defined.Sometimes I get this error on my sites:...

View Article


Layout Builder: Need ID or Class for different Layout Builder

If we have more than 1 Layout Builder pages then we can not determine each layout builder page, current solution is add class to each Section.For example, to identify that this page is home-1, we need...

View Article

Friendly response to logged-in user landing on user/reset

Problem/MotivationFor as long as I can remember, you get this error message, if you generate a one-time login link with Drush (for example /user/reset/1/1666288377/Wyf8bv[...]06_15sWg/login) and open...

View Article

Image may be NSFW.
Clik here to view.

Claro off-canvas dialog styling issues and inconsistencies

Problem/MotivationThe problems I see:Bug per se: "Revision informationNo revision" is shown twice and without paddingInconsistency: Filter wrapper is taking too much vertical space: font-size should be...

View Article


H4 in page.html.twig Causes Accessibility Error

Problem/MotivationThe core pager template has an H4 header for a visually hidden title. This occurs on line 37. <nav class="pager" role="navigation" aria-labelledby="{{ heading_id }}"> <h4...

View Article


Image may be NSFW.
Clik here to view.

Fix incorrect message after resetting password

Problem/MotivationAfter a user has reset their password, they are shown a message:You have just used your one-time login link. It is no longer necessary to use this link to log in. Please change your...

View Article

Password reset form error makes no sense when the account is locked

Problem/MotivationWhen the same mailbox requests to recover the password 5 times, it will prompt Password reset form was submitted with an unknown or inactive account: test@drupal.com.. But the user is...

View Article

Image may be NSFW.
Clik here to view.

Allow usage of WYSIWYG in maintenance message

Problem/MotivationWhen creating a custom message for the maintenance page, you can use HTML at /admin/config/development/maintenance. The purpose of this issue is to enable the WYSIWYG editor on this...

View Article

readonly state is not visually indicated

Problem/MotivationBy fixing #2866383: Readonly doesn't work on #States there is a lack of the visually indication if a field is readonly. I think we should use the disabled state or introduce a new...

View Article


Stop using `first-uuid` and `second-uuid` in tests: violates config schema

Problem/MotivationDiscovered while working on #3361534: KernelTestBase::$strictConfigSchema = TRUE and BrowserTestBase::$strictConfigSchema = TRUE do not actually strictly validate. See #3361534-29:...

View Article

KernelTestBase::$strictConfigSchema = TRUE and...

Problem/Motivation#2245729: Add missing configuration schema in Color component introduced \Drupal\Core\Config\Schema\SchemaCheckTrait. That helped fix #2231059: [meta] Find out what config schemas are...

View Article


Allow base plugin definition to be altered before derived

Problem/MotivationAt the moment, altering a plugin is done via hook_<plugin_alter_info>_alter, this happens after derivatives are already defined. The problem is, we can't change for example the...

View Article

Add "Disable image resize" setting to image fields

Problem/MotivationSome of our customers want to disable the image autoresize when images exceeds the maximum resolution defined in the field settings. They just want Drupal to reject the image because...

View Article


[meta] Make config schema checking something that can be ignored when testing...

Problem/MotivationThis is via a live conversation with @alexpott, hopefully I'm summarising it correctly.#784672: Allow text field to enforce a specific text format introduced a new key for text fields...

View Article

Add ['#ajax']['refocus'] property to FormAPI elements

Links are about to get a 'data-ajax-focus' attribute to allow specifying which element should receive focus after the AJAX command has taken place, in #3026636: Allow AJAX links to replace a specific...

View Article

Add support for PHP 8.1 Backed Enums in Select, Checkboxes, Radio elements

Problem/MotivationPHP 8.1 comes with support for Backed Enums It makes sense to be able to use them for select, radio and checkboxes fields as the value for #optionsProposed resolutionSupport using an...

View Article
Browsing all 301993 articles
Browse latest View live


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