BC break in login auth changes from #3444978
Problem/Motivation#3410582: Optimize user logins by avoiding duplicate entity queries refactored the user login process to optimise queries. To do that, it introduced a new UserAuthenticationInterface...
View ArticleAdd an option to 'hide filter tips' on text fields
Problem/Motivationhttps://www.drupal.org/project/allowed_formats is popular module (over 50 000 reported installations on D9/D10), the main feature was added to core on #784672: Allow text field to...
View ArticleAllow tokens in entity reference views selection arguments
For the Drupal 7 version of this issue, see #2010898: Use tokens for entity selection view arguments.Entity Reference allows using a View of a specific display type to set the available options. This...
View ArticleViews does not create parent local task for a default local task
When choosing to create a default menu tab, Views provides an option to create a parent menu tab. However, there does not appear to be any logic on the backend to actually make this occur.Steps to...
View ArticleProtect against empty revision timestamps in...
Problem/MotivationPeople are seeing errors on Taxonomy revision pages when upgrading from 10.2 to 10.3, see #2936995: Add taxonomy term revision UIThis is also being reported in #3317361: New revision...
View ArticleRemove unused variables in catch statements
Problem/MotivationSince PHP 8.0 we can omit the exception variable in catch blocks if the variable is unused.PHP RFC: non-capturing catchesPHP 8.0: catch exceptions only by typeSteps to...
View ArticleMake JSON:API responses easier to compress with gzip, brotli, etc
Problem/MotivationJSON:API responses are currently sent with the application/vnd.api+json mimetype. This is not one of the supported File types that CloudFront compresses. Furthermore, it seems that...
View ArticleAdd array return typehints to protected test helper methods
Problem/MotivationSee #3455549: Add return typehints to protected test helper methodsSteps to reproduceProposed resolutionRemaining tasksUser interface changesAPI changesData model changesRelease notes...
View Articleexception message thrown in createConnectionOptionsFromUrl() is unclear
Problem/Motivation> throw new \InvalidArgumentException('Minimum requirement: driver://host/database');This is unclear.Would be better as something like:> throw new \InvalidArgumentException("The...
View ArticleDuplicate thread on the same node
Problem/MotivationThe related comments have been saved in the same second and resulted in same thread value. Just had this issue today on a 10.2.6 website. This was reported as fixed in #1685170:...
View ArticlePossibility of {comment}.thread duplication in the same node
While analyzing issues on drupal.org, I detected that it is possible for multiple comments on a node to have the same {comment}.thread value.To ensure data integrity, we should have a unique index on...
View Articleis_dir(): Passing null to parameter #1 ($filename) of type string is...
Problem/MotivationAfter php8.1 update error is visible with Drupal 10.2.3is_dir(): Passing null to parameter #1 ($filename) of type string is deprecated FileStorage.php:213
View Article[ignore] Bubble render contexts from current to parent
Problem/MotivationI found that a form with a submit button having #ajax settings, when served via AJAX, got the add_js lines for attached libraries in reverse order compared to the order in which form...
View ArticleFix strict type errors in AssertContentTrait
Problem/MotivationSee parentsThis issue is to fix \Drupal\KernelTests\AssertContentTraitSteps to reproduceProposed resolutionFix core/tests/Drupal/KernelTests/AssertContentTrait.php Remaining tasksUser...
View ArticleAdd packageManager key to core/package.json now we recommend corepack enable
Problem/MotivationSince 13 Sep 2022 we've recommended using corepack to manage which yarn version but using this results in changing core/package.json when you run a yarn command which is...
View ArticleAfter deleting a translated article, search wants to reindex it
Problem/MotivationIf you create a translation of an article in Ukrainian, for example, and then delete it, then on page /admin/config/search/pages we see the following: "There is 1 item left to...
View ArticleMake Greek Characters Available
We could not figure out how to add greek characters to ckeditor5, so I unminified the js of special-characters.js and added it in with this patch. Is there a better way? I didn't make a merge request...
View ArticleLocate drupalisms that might create confusion among users
Problem/MotivationDrupal uses specific terminology that might not be an industry standard or might not use concepts that people can accommodate in their mental models, which confuses less experienced...
View ArticleUse class names instead of plugin IDs
Problem/MotivationDo we need to give plugins an ID? Why don't we just identify them by their class name?Steps to reproduceProposed resolutionMake the ID property optional and deprecate it. Identify...
View ArticleAlignment break and spacing issue
Problem/MotivationAlignment break and spacing issueSteps to reproduceStep1 : Install Drupal Step2 : Enable layout builder module Step3 : Use Layout Builder from Administration > Structure >...
View Article