Drop 'localized_options' in all places?
Problem/MotivationProposed resolutionRemaining tasksUser interface changesAPI changes
View ArticleEntityFieldQuery Cache?
Similar to mysql query cache, wondered if an EntityFieldQuery cache module would make sense.
View ArticleAllow Simpletest to Post Invalid Values for Select Fields
Problem/MotivationI was constructing some test cases for a custom form #process callback when I was shocked - shocked! - to discover two things:DrupalWebTestCase::drupalPost not allow me to submit...
View Article[random test failure] MediaTest::testViewMode
Problem/Motivationhttps://git.drupalcode.org/issue/drupal-3513875/-/jobs/4731175 Media (Drupal\Tests\ckeditor5\FunctionalJavascript\Media) ✔ Drupal media ✔ Media arbitrary html ✔ Alt disabled ✔...
View ArticleAdd caching to ConfigurableLanguageManager::getLanguages()
Problem/MotivationSee #3497333: Add persistent cache to CachedStorage::findByPrefixThis method causes an uncached query on every page request on translatable sitesSteps to reproduceProposed...
View ArticleMultilingual node tests should use the API rather than form submissions in...
Problem/MotivationVarious functional tests in node module use form submission to perform setup. E.g., in NodeFieldMultilingualTest::setUp(): // Enable URL language detection and selection. $edit =...
View ArticleAjax error ajax.$form.ajaxSubmit() is not a function
Problem/MotivationDifferent Drupal forms throw an ajax.$form.ajaxSubmit error on submit. This has affected users at image upload, Block editing within Layout Builder sections, and ajax submissions for...
View ArticleRemove details.css since it is no longer needed
Problem/MotivationSplit from #3512262: Move details.module.css to the collapse library.This has only one line of CSS, which hasn't been updated since at least 2015.I couldn't see any difference with or...
View ArticleMake Node views wizard buildFilters more efficient
(This is a follow-up on PHP 7.4 notice in views node wizard if a taxonomy field widget is hidden)In the above issue a bug fix was made for hidden taxonomy field widgets in the views node wizard.As...
View ArticleRemove Drupal.behaviors.fillUserInfoFromBrowser
Problem/MotivationPer #3498834: Dont use core's prepopulate function for core forms (Privacy) this violates GDPR, and it's also not secure on shared computers. In addition, modern web browsers have...
View ArticleAdd native return types to hook definitions
Problem/MotivationHooks are documented in *.api.php files. Developers tend to copy hooks from those files or from api.drupal.org which is bullt upon the code documentation. On the other hand drush...
View ArticleUpdate file usage number when translation or entity reference revisions...
Problem/MotivationAfter deleting a node's translation, the 'Status' and 'Used in' values of the Files list (/admin/content/files) won't be updated.Steps to reproduceUse case 1: File usages in...
View ArticleSupport PHPUnit 11 in Drupal 11
Problem/MotivationPHPUnit 11 was released on February 2, 2024, supporting PHP 8.2 and above. Drupal 11 is still using PHPUnit 10.Proposed resolutionUpgrade Drupal 11.x to PHPUnit 11 in this issue,...
View ArticleAdd comment EarlyDateTest checks taxonomy-specific test
Problem/Motivation> * Posts an article with a taxonomy term and a date prior to 1970.Add comment why EarlyDateTest checks taxonomy-specific testSome old git blame #985292: Nodes published before...
View ArticlePreload cache tags in cache getMultiple
Problem/Motivation#3436146: Introduce a list of "frequent cache tags" to reduce lookup query amount adds preloading for cache tags.I think we can make use of this in the cache backend itself, to...
View ArticleOptimize redirect chain retrieval in VariationCache
Problem/MotivationIn #3437499: Use placeholdering for more blocks and on Slack we (@berdir, @catch and myself) did some digging and came to the conclusion that, when trying to get something that was...
View Article[pp-1] Optimize placeholder retrieval from cache
Problem/MotivationIn #3437499: Use placeholdering for more blocks and on Slack we (@berdir, @catch and myself) did some digging and came to the conclusion that the single cache lookups of placeholders...
View ArticleRestore documentation on variable arguments in...
Problem/MotivationIn #3029500: Drupal\Core\Database\Query\Select::hasAllTags() and hasAnyTag() will require a new "$tags" argument in the next major version of its parent class we are removing...
View ArticleMove test middleware out of CoreServiceProvider
Problem/MotivationCoreServiceProvider currently provides services that are only applicable to tests. We should separate test from runtime code.Further to this, as identified in #3505952: [random test...
View ArticleMissing save button on Preview page
I'm migrating from Drupal 7 to Drupal 10. In Drupal 7, if you clicked the Preview button on the Node edit page, a preview of the page appeared and you could save it by clicking the Save button. There...
View Article