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

hook_requirements() doesn't say that severity is optional, or what the...

Problem/MotivationAPI page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...Some implementations of this don't return a severity level:...

View Article


Add array return to all *_info hook implementations

Problem/MotivationSee #3483037: [META] Add return types to hook implementationsAll info hooks should return array, except hook_config_translation_info which takes the $info param as a reference.Steps...

View Article


incorrect docs for MenuLinkFieldDefinitions

Problem/MotivationMenuLinkFieldDefinitions says:> * Provides base field definitions for an entity type.This is wrong. The docs on the $defaults property are correct.Steps to reproduceProposed...

View Article

Improve documentation of MenuLinkTreeInterface

Problem/MotivationMenuLinkTreeInterface::load() does not do any sorting or access checks, as might be expected. This should be better documented.When loading a menu, for example using:$tree =...

View Article

Image may be NSFW.
Clik here to view.

[PP1] Move the Edit buttonoutside the more actions drop down

Problem/MotivationWe moved the local tasks into the "More actions" drops-down as they are. The problem is that the main action to edit the content is hidden behind a the More actions drop down.Proposed...

View Article


DraggableListBuilder needs to document its expectations

Problem/MotivationThe DraggableListBuilder class is meant to be used to make entity lists, but it requires things which aren't immediately clear.So far, that seems to be just this one:- the entity type...

View Article

Resolve PHPStan-Strict errors: class.nameCase

Problem/MotivationFix a bunch of errors reported by PHPStan Strict with all rules disabled, i.e, the "miscellaneous" errors before we can consider introducing strict.Most of the things identified will...

View Article

Help link always appears in navigation

Problem/MotivationThe 'Help' link is defined in navigation.block_layout.yml, meaning it appears in the sidebar regardless of whether the module is installed.Steps to reproduceInstall Drupal with the...

View Article


URL is not trimmed when there is a space at the end of it

Problem/MotivationI have an entity with a "Link" field. This field is shown in a form with "Link (with attributes)" widget. If I try to create a new entity, or update an existing one, and in this field...

View Article


"Where" is a protected property

API page: https://api.drupal.org/api/drupal/core%21modules%21views%21views.api.php...In the example code we have $query->where but "where" cannot be used in a hook_views_query_alter because it's a...

View Article

View mode teaser for field_tags missing

Problem/MotivationI'm missing a CSS selector for field_tags in teaser mode..node--view-mode-teaser .field--tags { margin-block-start: var(--sp4); margin-block-end: var(--sp1); padding-block:...

View Article

Respect form display weights in form preview

Problem When creating a new form (through Contact Forms), the user can define the form display and view display. Both are working fine when viewing a form or a submission (using the Contact Messages...

View Article

Update module can get 'stuck' with 'no releases available'

Problem/MotivationI don't have great steps to reproduce this yet, but it's something like the following: - update module can end up with items in the fetchTasks key/value store without equivalent queue...

View Article


Remove duplication from FileTestForm and FileTestSaveUploadFromForm

Problem/MotivationFollow-up from #3221793: Move file upload validation from file.module to constraint validatorscore/modules/file/tests/file_test/src/Form/FileTestForm.php...

View Article

Ensure tests don't run twice

Problem/MotivationReported by @berdir in slack.=Drupal\KernelTests\Core\Plugin\DefaultPluginManagerTest shows up in both kernel test group 3/4 and...

View Article


StatementPrefetchIterator::fetchField fails silently if the column index is...

Problem/MotivationFound while working on #3488467: [PP-1] Introduce a StatementBase abstract class.Steps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI...

View Article

Image may be NSFW.
Clik here to view.

[PP1] Show entity information on the Top Bar

Problem/Motivationto work on this when #3484564: Define the 3 areas the Top Bar will provide is done. When accessing the edit form or the full mode of an entity, some extra context would be helpful for...

View Article


Inconsistent switch case syntax

Problem/MotivationNearly every switch statement in Drupal core uses the standard syntax of case followed by a colon. However, there are 14 instances where a case statement uses the alternate syntax of...

View Article

CKE5 validator false negative on wildcard elements ("the following...

Problem/MotivationWhen adding the "elements" to a CKE5 plugin definition, you might want to use a wildcard to, for example, whitelist a set of classes on all HTML elements:my_plugin: ckeditor5:...

View Article

Status report confuses null email with duplicate email

Problem/MotivationThe status report now contains a check for duplicate email address and reports them with the heading "Conflicting user emails". However, accounts may be created without an email, i.e....

View Article
Browsing all 291923 articles
Browse latest View live


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