Handle NULL for data blob in User source plugin
Problem/MotivationGetting this error while working on PHP8.1 compatibility in Commerce Migrate. See #3270534: Test failures with PHP 8.1.1)...
View Articleupdate.php doesn't work when Drupal is installed in a subfolder and...
Problem/MotivationAn installation of Drupal has been placed in a subdirectory (/drupal) of webroot. The .htaccess file contains the RewriteBase directive to point to the subdirectory.RewriteBase...
View ArticleCannot customize settings in KernelTestBase
Problem/MotivationIn the Drupal 8.0.x lifecycle, the simpletest module version of KernelTestBase included #2229011: Tests are no longer modifiable, which added support forsettings.testing.php.Except,...
View ArticleSqlContentEntityStorageSchema incorrectly uses cached data
When changing the storage schema of a field without data, SqlContentEntityStorageSchema::updateDedicatedTableSchema()performFieldSchemaOperation() invokes...
View ArticleImprove process code for MediaEmbed filter
Problem/MotivationI cannot override MediaEmbed filter plugin quickly, because the process function make more things.If i want to change a little for process, such as given special langcode for each...
View ArticleFix for Unit Test on Windows
ProblemThe following Unit Test does not pass in Windows environment due to hardcoded use of directory...
View ArticleDerived discovery can result in rebuilding of out of date data (e.g. Block)
Problem/MotivationThere is a design pattern that derivers statically cache the resulting derivatives (e.g. \Drupal\Component\Plugin\Derivative\DeriverBase::$derivatives). This can result in out of date...
View ArticleUpdate the module descriptions on the Extend page to fit the Help texts
Problem/MotivationThis is a subset of the descriptions originally included in #2570985: Update the module descriptions on the Extend page to make the review easier.The description of a module on the...
View ArticleUserViewsData.php: ambiguous text
core/modules/user/src/UserViewsData.php:85 ambiguous text title or help?
View ArticleProvide a straightforward way to configure“Add another item” button text on...
Problem/MotivationCore supplies the button text "Add another item" for add more buttons. It would be valuable to be able to customize this text. Our team had ideas to change it globally to something...
View ArticleLet modules opt in to the bundle-specific permissions form
Problem/Motivation#2934995: Add a "Manage permissions" tab for each bundle that has associated permissions applied to all entity types that have bundles and set field_ui_base_route in the entity...
View ArticleEntity reference list display not working with autocomplete widget (but ok...
Steps to reproduce:A-Add some fields to the User entity 1-Add the 'First Name' field (brut text) 2-Add the 'Last Name' field (brut text) 3-Add the 'Company' field (Entity Reference to Company content...
View ArticleFile tests should not rely on Classy
Problem/MotivationBecause of #3083275: [meta] Update tests that rely on Classy to not rely on it anymore and Classy being deprecated in Drupal 9 + removed in Drupal 10,: Tests that aren't specifically...
View ArticleHistory tests should not rely on Classy
Problem/MotivationBecause of #3083275: [meta] Update tests that rely on Classy to not rely on it anymore and Classy being deprecated in Drupal 9 + removed in Drupal 10,: Tests that aren't specifically...
View ArticleUse a separate method to get path field item alias source path
Problem/MotivationWe have a use case where we want to allow editors to provide an alias to a path related to the entity they are editing. The path field type...
View ArticleHTMLRestrictions' diff operation bug: diff(<tag attr="A...
Problem/MotivationWhile working on #3222797: [PP-1] Upgrade path from CKEditor 4's StylesCombo to CKEditor 5's Style, I noticed that, given $a = HTMLRestrictions::fromString('<tag attr="A B">');...
View ArticleDon't convert, instead use response.entity_type in DrupalImageUploadEditing
Problem/MotivationReported by @nod_ and @lauriii in #3248425: Ensure that all classes and functions in Drupal-specific CKEditor 5 plugins are documented👍There's some crufty conversions happening in...
View ArticleCannot implement a custom user cancellation method
Problem/MotivationCurrently we pretend that we have an API that allows a 3rd party to implement its own user cancellation method. Relevant hooks: hook_user_cancel_methods_alter() and...
View ArticleMark some templates internal and remove them from starterkit theme
Problem/MotivationThe starterkit theme at the moment contain some pretty specific templates, such as ones that are rendering the media library. I don't think we should move the maintenance burden of...
View Articlefield_purge_batch() should be in core components, not in field module
field_purge_batch() takes care of deleting Field API tables that have been renamed for batch deletion. But it's in Field module, which is optional.However, code-defined fields can have dedicated...
View Article