400 exceptions result from requests for old asset paths which are missing the...
Problem/MotivationAfter an upgrade to 10.1.x, a request to any non-existent theme asset will trigger an Exception with a 400 error.Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The...
View ArticleFix \Drupal\taxonomy\Entity\Term::getName() to conform to the interface
Problem/MotivationDeprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\taxonomy\TermForm->buildEntity()Steps to reproduce1. Add a field that...
View ArticleUnserialize(): Passing null to parameter #1 ($data) of type string is...
Problem/MotivationSolve warning on PHP 8.1Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in...
View Article[11.x] Update from Yarn 1 to Yarn 4
Problem/MotivationDrupal 10.0.x is currently still using Yarn 1 ("Yarn Classic"). Per https://github.com/yarnpkg/yarn#contributing-to-yarn: The 1.x codebase is fairly old and will only accept security...
View ArticleAdd setSerializer to Component\Serialization\Yaml and deprecate...
Problem/MotivationDrupal has two Yaml serialization classes, which is confusing.Drupal\Component\Serialization\YamlDrupal\Core\Serialization\YamlThe difference is the latter allows overriding the...
View ArticleAdd comments explaining performance improvement in TypedData
Problem/MotivationAdd comments explaining why the constructs added in [#] are used, which was done for performance. See #3017710-50: Drupal\Core\TypedData\TypedData::getPropertyPath() is slowThis is a...
View ArticleEvaluate replacing all usage of sprintf by dot concatenation or variable...
Problem/Motivationsprintf() does not add value over using a double-quoted string for scenarios like test assertions and exception messages, where no data type conversion or sanitization is needed, and...
View ArticleAdd the session to the request in KernelTestBase, BrowserTestBase, and drush
Problem/MotivationCurrently the session is only available from the request in tests running in the child site. Neither BrowserTestBase nor KernelTestBase add a session to the request when populating...
View ArticleDocument new arguments in run-tests.sh
Problem/MotivationIn #3386076: GitLab CI integration for core we added two new arguments to the run-tests.sh to allow paralell runs, but the simpletest_script_help() was not updated to describe these...
View ArticleCreate Javascript library for searching rendered lists on the client.
Problem/MotivationThere are several places in core where the user searches in a text area to filter a list that is already rendered on the page. This filtering does not require any call back to the...
View ArticleSQL migrate id_map plugin should use MigrateMapSaveEvent fields, not the...
Problem/MotivationCurrently, in Sql::saveIdMapping(), Migrate dispatches a MigrateMapSaveEvent right before saving the ID map, passing the map instance and fields.However, the event includes no way to...
View ArticleRemove unneeded static cache in file_save_upload()
Problem/MotivationIn #3375423: Deprecate file_managed_file_save_upload(), file_save_upload() and _file_save_upload_from_form() and replace with a service we are modernising file uploads. The static...
View ArticleSplit out a couple more config translation UI tests
Problem/MotivationFollow-up from #3389668: Split up ConfigTranslationUiTest - we have a whole test class for date formats with one method, and a huge translation ui test that also has a date formats...
View ArticleEntityRepository::getTranslationFromContext() function forcibly adds default...
Problem/MotivationWe have a site that actively uses fallbacks and some fallback chains have the default Entity language disabled. For example, we have an Entity with French (fr) as default language,...
View ArticleUpdate PagePreviewTest to use starterkit
Problem/MotivationWhile wokring on #3274066: Node tests should not rely on Classy it was determined that Drupal\Tests\node\Functional\PagePreviewTest could not be updated to use Stark as the theme.The...
View Article[meta] Update tests that rely on Classy to not rely on it anymore
Problem/Motivation#2352949: Deprecate using Classy as the default theme for the 'testing' profile set a new direction for how to avoid having our tests be dependent on themes that may disappear. It...
View ArticleFollow-up for #3382510: Throw \LogicException when >1 #config_target in...
Problem/MotivationOversight in #3382510: Introduce a new #config_target Form API property to make it super simple to use validation constraints on simple config forms, and adopt it in several core...
View ArticleConvert both BookNavigationCacheContext and MenuActiveTrailsCacheContext to...
Problem/MotivationIn #3392616: Update to Symfony 6.4 we decided to convert both BookNavigationCacheContext and MenuActiveTrailsCacheContext to use lazy services.This issue was created to do just...
View Articlexjm dealing with organization credit attribution limitations
If you aren't xjm, please leave this issue alone. Thanks!
View ArticleMark Announcements Feed as stable
Problem/MotivationThis issue will track the path to marking the Announcements Feed module stable. The initiative is outlined in #2940739: Project messaging channel in core initiativeProposed...
View Article