Move search_index() and related functions to a service
Problem/Motivationsearch.module contains a number of procedural functions that can be moved to a OOP service.This...
View ArticleOptimize CEB::hasTranslationChanges by caching its result and serving...
Problem/MotivationContentEntityBase::hasTranslationChanges is being called in core two times during the saving process. 1. ChangedItem::preSave 2....
View ArticleUndeprecate Drupal\comment\Plugin\migrate\source\d6\Comment::prepareComment()
Problem/MotivationIn #2887142: NodeType source plugin should include comment information We deprecated comment variable sources in favor of integrating them into NodeType. In order to preserve BC, so...
View ArticleDon't catch exception for invalid 'core_version_requirement'...
Problem/MotivationFollow up to #2313917: Core version key in module's .info.yml doesn't respect core semantic versioningIn that issue we caught exceptions thrown by \Composer\Semver\Semver::satisfies()...
View Article[policy, no patch] Use a deprecation process for JavaScript similar to what...
Problem/MotivationFor PHP code, we have a well-defined set of rules for how to do deprecations in a continuous upgrade path:https://www.drupal.org/core/deprecationFor JavaScript, we haven't defined a...
View ArticleAdd a new test type to do real update testing
Problem/MotivationWe have hit problems with the security release of 8.6.7 and the bug fix release of 8.6.8. See:#3026386: Drush fatal error after upgrading to 8.6.6, 8.5.9, or 7.62: PHP Fatal error:...
View ArticleProposal to use PostCSS for Claro in core
Problem/MotivationWhile implementing the new design system, the team raised some interest in using some of the new CSS features (mainly CSS custom properties or CSS variables). Being able to leverage...
View ArticleTrack the workspace of a revision in a base field and convert the...
Problem/MotivationThe current way of associating a revision with a workspace has a couple of problems:- the association history is lost when a workspace is published to Live, because we delete all...
View Article[meta] Y2K38: Unix Millennium bug
Problem/MotivationAll core schema columns using integers for storing UNIX timestamp use 32bit for the value and so are affected by the Year 2038 bug.Proposed resolutionMove schema columns using type =...
View ArticleDuplicated summary item when linking to content with the MediaThumbnailFormatter
Steps to reproduce: - Create an entity reference field linking to a media entity - In the Manage Display tab, change the formatter to Thumbnail (MediaThumbnailFormatter) - In the display settings for...
View ArticleUmami's language-switcher as a drop-down menu
Problem/MotivationUmami comes with a new language switcher. When adding more languages (beyond the existing English and Spanish) it will break the nice flow of the header.Proposed resolutionAdd the...
View ArticleAllow run-tests.sh to reflect skipped/risky/incomplete PHPUnit-based tests
Problem/MotivationThis is almost a bug, but I'll call it a task.run-tests.sh can run PHPUnit-based tests.However, it can't reflect that a test was skipped.This is due to two factors:1) simpletest (and...
View ArticleReplace jQuery UI autocomplete with awesomplete
Before going any further, know this: Much of the work on this task took place here: #2346973: Improve usability and accessibility of long select lists. It eventually became apparent that this needed...
View ArticleDenormalizing NULL for an optional @FieldType=address or...
I have a content-type with an address field on it. The field is optional. I cannot send null as a value for that field or I get a 500 internal server error.This happens on create (POST) or update...
View ArticleUpdate composer.lock with scaffold metadata from drupal/core composer.json
Problem/MotivationIn #3067645: Add core scaffold assets to drupal/core's composer.json extra field, the composer.lock file was not updated. The result of this is that the Drupal scaffold file...
View Article[meta] How to deprecate Simpletest with minimal disruption
Problem/MotivationSimpletest is one of the biggest deprecations in Drupal 8 and one of the least trivial to update for.Also, when porting modules to Drupal 9, if a module has simpletests, they're one...
View ArticleRemove BC layer from...
Problem/MotivationThe signature of Drupal\jsonapi\ResourceType\ResourceType::resolverInternalEntityQueryPath() was changed in #3070204: Refactor the JSON:API FieldResolver to use a resource type...
View ArticleAdd label sort ability to Select element
Problem/MotivationOn #2900409: [PP-1] Reference Field -- Sort By settings -- only shows 1 field label from 1 random bundle (postponed on this issue), we realized that resolving that issue would be much...
View ArticleCall to a member function isTranslatable() on null in SqlContentEntityStorage
Hi,I get a blank page in admin/content. No error. Everything else is working fine in the Admin Menu including Add content and Comments under the Content Menu.Drupal 8.4.2 (problem was the sma with...
View Article[META] Integrate Media Library with Content Moderation
Problem/MotivationWe have a nice media library in core. We also have a nice content moderation/workflow system in core.We also have no real, solid idea how these two systems interact with each other....
View Article