Re-installing the media_library doesn't work
Problem/MotivationRe-installing the media library doesn't work, because of the following error:Unable to install Media library, core.entity_form_mode.media.media_library already exists in active...
View ArticleReplace all calls to db_table_exists, which is deprecated.
See #2848161: [meta] Replace calls to deprecated db_*() wrappers
View ArticleFile entity - Dblog/Watchdog entries if uid is NULL
Problem/MotivationFile entities have a field called "uid" storing the id of the owning user. The field is not marked as required and is not part of the entity keys. As a result, the Drupal API as well...
View ArticleOptimize 'initial' and 'initial_from_field' handling in...
Problem/MotivationSince #2951242: Allow BaseFieldDefinition::setInitialValueFromField() to set a default value - this fixes issues with block_content_update_8400(), it is possible that a database field...
View ArticleEnforcedFormResponseSubscriber should use KernelEvent's method instead...
EnforcedFormResponseSubscriber has a method acting as an event listener. This method is testing the event's request type using a HttpKernelInterface's constant:if ($response instanceof EnforcedResponse...
View ArticleUpdate test module aaa_update_test is duplicated
Problem/MotivationThe module aaa_update_test actually is in 2 locations: core/modules/update/tests/aaa_update_test and core/modules/update/tests/modules/aaa_update_testProposed resolutionRemove it from...
View ArticleAdd markcarver to Theme API in MAINTAINERS.txt
I've decided to start taking a more active role in core Theme API development considering that we've never really gotten too far past all the Twig conversions since 8.x was initially released.
View ArticleMediaUpdateTest is broken
Problem/MotivationAs discovered in #2976035: Entity type CRUD operations must use the last installed entity type and field storage definitions , \Drupal\Tests\media\Functional\Update\MediaUpdateTest...
View ArticleConfig import creates "Undefined index: uuid" notice
In our use case we have two seach_api index sett-ups; one for local development and one for staging / produdction.On deployment we use drush cset search_api.server.index status false to select the...
View ArticleStop flushing entire entity load cache bins unnecessarily
Resetting an entity_load cache bin in Drupal 7 can have more drastic consequences than in previous versions of Drupal, as we can have persistent load caches in place of the PHP static memory cache....
View ArticleRemove setComponent() workaround in LayoutBuilderEntityViewDisplay
Problem/MotivationEntityViewBuilder::getSingleFieldDisplay() relies on creating a fake non-sectioned display and setting values on it for rendering. This requires extra BC layers inside...
View ArticleTime Ago summary does not render on Manage Display for Datetime
Problem/MotivationWhen using the timeago formatters on datatime fields, the setting summary does not display properly on the Manage Display page. This was likely a side effect of #2500525: Time...
View ArticleEntity type CRUD operations must use the last installed entity type and field...
Problem/MotivationAutomatic entity updates were initially introduced as part of @plach's vision to allow dynamically changing entity type revision and translation support. In this light core would only...
View ArticleNode revision routes don't convert {node} param
Problem/MotivationThe {node} parameter from node revisions routes are not upcasted. But a contrib module expects to receive full the entity in {node} parameter. Example:...
View ArticleConvert web tests to browser tests for field module
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)ScopeEmailFieldTest EntityReferenceAdminTest EntityReferenceFileUploadTest FieldUITest...
View ArticleFigure out how to check for unintentionally covered code
Follow up to #2105583: Add some sane strictness to phpunit tests to catch risky testsProblem/MotivationChecking for unintentionally covered code is useful for identifying weakness in coverage reports...
View ArticleProfile page's title/heading does not fulfill hook_user_format_name_alter
I am not sure if this is an actual bug or not, so I assigned category "Support Request"I've implemented hook_user_format_name_alter in a custom module, and it works perfectly. The newly formatted...
View ArticleReplace all calls to db_insert, which is deprecated
See #2848161: [meta] Replace calls to deprecated db_*() wrappers.Replace all usages of db_insert in core, except in code that is testing db_insert.
View ArticleUpdate database.api.php to remove deprecated db_*() functions.
Problem/Motivation#2849745: Replace documentation recommending db_*() wrappers is trying to fix all documentation which references db_*() functions.Let's split out the database.api.php file and fix it,...
View ArticleClicking Reset Password link in email doesn't work and redirects to...
Hi Team,We are facing an issue with reset password mail link in our server. When an end user would like to Reset Password, he will enter the email in /user/password page. Then he will be triggered an...
View Article