SAVED_DELETED is not used in D11, D10, D9, or D8 and should be removed
Problem/MotivationThe constant SAVED_DELETED, defined in core/includes/common.inc is not used anywhere in core since Drupal 7. It is not used in Drupal 8 or Drupal 9 or Drupal 10.Absent a use case for...
View ArticleInvalid byte sequence when using PostgreSQL and a language other than English...
I get this error from drupal everytime I access a page with a blog entry:# warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid byte sequence for encoding "UTF8": 0x97 HINT: This error...
View ArticleFix 'Drupal.Commenting.DocComment.ParamNotFirst' coding standard
Problem/MotivationThe sniff "Drupal.Commenting.DocComment.ParamNotFirst" is not enabled.Steps to reproduceProposed resolutionEnable the run "Drupal.Commenting.DocComment.ParamNotFirst" in...
View ArticleUse enum in Datetime range formatter
Problem/MotivationDuring the development in #2827055: Add option to show only start or end date in the DateTime Range custom formatter, a new enum was introduced that stores some constant expressions....
View ArticleAdd config actions for views
Problem/MotivationWhile #3303127: Determine which core config entity methods should be config actions will be straightforward for some of the more basic configuration entities, for others it will be...
View ArticleInstall Fails on WAMP server with php 8.3
Problem/MotivationFresh install wampserver newest version with mysql 8, PHP 8.3.6 I got error in step 5Steps to reproduceInstall drupal with profile standardStep 5 i got errors An AJAX HTTP request...
View Article[10.2 regression] CKEditor 5 breaks when "Source"/Source editing...
Problem/MotivationThe change in validation introduced in #3396628: Fix <ol start> → native CKEditor 5 functionality and fix bug in SourceEditingRedundantTagsConstraintValidator that allowed it to...
View ArticlePrevent modules which have unmet Composer dependencies from being installed
Problem/MotivationIn Drupal 8, contributed modules may require Composer dependencies, but Drupal core itself will not require site builders and developers to use Composer to assemble a site's code...
View ArticleAdd a trait for autowiring properties in tests
Problem/MotivationCurrently when adding services as properties in tests you need to declare the properties and initialize them in ::setUp. This is unnecessary boilerplate.Steps to reproduceProposed...
View Article[Plan] Gradually replace Drupal's AJAX system with HTMX
What is the problem to solve?Drupal's AJAX system has served us well for over a decade. For over 15 years if you count its predecessors in CTools and AHAH. At the time of its creation, we had to create...
View ArticleCore security triage 2025-01-09
Problem/MotivationExplanation: Some full and provisional members of the Drupal Security Team meet fortnightly to triage and discuss private core security issues. These meetings are essential to core...
View ArticleAdd an Autowire trait for plugins
Problem/MotivationWe already have a \Drupal\Core\DependencyInjection\AutowireTrait class, suitable for wiring dependencies into classes extending...
View ArticleClean up code in UserRolesCacheContext::getContext()
Problem/MotivationIn #3436395-37: UserRolesCacheContext can lead to poisoned cache returns for user 1, @alexpott wrote, FWIW it would great to file a follow up to add a TRUE to the in_array in this...
View ArticleHandle module preprocess functions as OOP hooks
Problem/Motivationhook_preprocess, hook_preprocess_HOOK, and template_preprocess_HOOK functions are still required to be in a .module/.inc file.Steps to reproduceN/AProposed...
View ArticleRemove unnecessary usage of dblog module at tests
Problem/MotivationIt looks like there are several tests at core that really don't need dblog module.Recently @larowan suggest that dblog can be replaced with...
View ArticleMove content_entity source plugin to migrate module
Problem/MotivationThe current plan is to remove the migrate_drupal module in Drupal 12. But there are parts of that module that we want to keep. In particular (this issue) we want to keep the...
View ArticleFix LineLength for @todo comments
Problem/MotivationPart of #2572709: [meta] Fix 'Drupal.Files.LineLength' coding standardSteps to reproduceFind issues in each group by using phpcs --standard=core/phpcs.xml.dist --report-width=250...
View ArticleFix LineLength for summary, @file and @var
Problem/MotivationPart of #2572709: [meta] Fix 'Drupal.Files.LineLength' coding standardSteps to reproduceProposed resolutionShorten summary lines, @file, and @var lines as needed.Find issues in each...
View ArticleUse a placeholder for the username in the navigation user menu
Problem/MotivationSpin-off from #3441576: Add a new "Navigation user links" menu in favor of hardcoded links in NavigationUserBlock.I am not sure this is actually possible to do with a menu link, it's...
View ArticleUpload progress using jQuery.form plugin instead of 3rd party PHP libraries
Currently the system uses either: PECL uploadprogress http://pecl.php.net/package/uploadprogress or APC rfc1867 to show file upload progress (neither of which work with PHP 7 and nginx). There was a...
View Article