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 ArticlePermission rename in <module_name>.permissions.yml leads to...
Problem/MotivationRenaming a permission in .permissions.yml leads to "RuntimeException: Adding non-existent permissions to a role is not allowed" error. The old permission name is still in the...
View ArticleConfirmFormInterface::getFormName() serves no purpose in ConfirmFormBase
Problem/MotivationConfirmFormInterface::getFormName() is only called by ConfirmFormBase. The return value, a string, is used to build a hidden form element: $form[$this->getFormName()] = ['#type'...
View ArticleBug with media library and LanguageNegotiationUserAdmin
Problem/MotivationI believe I have uncovered a bug with LanguageNegotiationUserAdmin and the Media Library core moduleIn my use case, I have a multi lingual site but the users want to select their...
View ArticleEnable grouping for checkboxes and radio buttons
As of today, grouping is only possible for select lists, not for checkboxes and radio buttons. In form.inc, options buttons get flattened out. If you read this thread: #1878292: Add grouping by...
View ArticleAllow adding dynamic configuration schema
Problem/MotivationWhen we want to add a dynamically determined key to typed data scheme via hook_config_schema_info_alter, we get an exception that adding keys is not allowed.Proposed resolutionAdd a...
View ArticleFieldType DecimalItem may fail with a TypeError in preSave
Problem/MotivationI wonder about strict types in the context of \Drupal\Core\Field\Plugin\Field\FieldType\DecimalItem::preSave. It calls round($this->value, $this->getSetting('scale')) which...
View ArticleOptimize joins and table selection in SQL entity query implementation
Problem/MotivationQuite a long time ago, before Drupal 8.0, we made the decision to make Views more intelligent about which entity table to select from by default. Before, we always started of the base...
View ArticleAllow displaying a custom message on the Access Denied (on403) error pages
Problem/MotivationNow each 403 error page can display just a static hardcoded text:Access denied You are not authorized to access this page. But pretty often it is required to show a custom message to...
View ArticleAJAX Response Not Sanitized For Length
Background InformationSome important background information to understand the problem:Drupal now sets a content-length header for most responses (https://www.drupal.org/node/3298551). The length is set...
View ArticleModules that create config cannot be installed alongside modules that depend...
Problem/MotivationExperience Builder creates config at install time in hook_rebuild(). It also has tests that install submodules that depend on that config. These tests fail in 11.x because the config...
View ArticleAdd support for additional protocols in Link field definition
Problem/MotivationThe link module only validates http and https, but not other scheme names such as git or ftp. In Drupal 7, the validation can be turned off, thereby allowing the input of other scheme...
View ArticleEmpty language (langcode) field wrapper inserted into contact form
Problem/MotivationWhen creating a new contact form I found the wrapper <div> for what appears to be a language select list is inserted: <div class="field--type-language field--name-langcode...
View ArticleFix MissingParamType in modules not views
Problem/MotivationPart of enabling the sniff Drupal.Commenting.FunctionComment.MissingParamType.Steps to reproduceProposed resolutionAdd the param types in modules, except views and views_uiRemaining...
View ArticleRefine field descriptions
Problem/MotivationThis issue is a follow-up for #3356894: Make field selection less overwhelming by introducing groups to refine the newly added field descriptions if wanted. Steps to reproduceProposed...
View ArticleRefactor ImageStyleDownloadController so derivatives can be generated by...
In order to support alternative stream wrappers like S3 and maintain performance, contributed modules often have to reimplement significant parts of the image generation process. For example, with S3...
View ArticleConvert testLinkFormatterQueryParametersDuplication to a Kernel test
Problem/MotivationLinkFieldTest::testLinkFormatterQueryParametersDuplication doesn't make any HTTP requests so should be a Kernel test. It has some shared code with other methods in that test so it...
View Article[random test failure] LayoutSectionTest::testLayoutSectionFormatterAccess
Problem/MotivationDrupal\Tests\layout_builder\Functional\LayoutSectionTest::testLayoutSectionFormatterAccess Behat\Mink\Exception\ResponseTextException: The text "Hello test world" was not found...
View ArticleCSRF token generation incompatible with optional route parameters
RouteProcessorCsrf::processOutbound() does not take into account optional parameters when calculating a CSRF token, leading on-request validation to fail on a generated route in which one or more...
View Article[policy, no patch] relax patch size policies
Problem/MotivationThis is in regards to https://www.drupal.org/docs/develop/issues/issue-procedures-and-etiquett...This patch size limitation seems to have been from the days when we mostly used .patch...
View Article