Deprecate module_set_weight()
Problem/MotivationModule weights are from a time before autoloaded code and the ability to sort by dependency.Proposed resolutionDeprecate module_set_weight() and remove it's usage in core.Remaining...
View ArticleDeprecate watchdog_exception
Problem/MotivationWe're modernizing PHP by removing procedural code. watchdog_exception is an example of that. It provides a simple wrapper around \Drupal::logger()->log() with a bit of exception...
View ArticleRemove '.text-full' in description of textarea with a summary
<div class="js-text-full text-full description" data-drupal-selector="edit-field-testet-0" id="edit-field-testet-0--description">testing</div>`js-text-full text-full` should not adding to...
View ArticleViews pager is using exposed_raw_input instead of exposed_input
I am having the same issue with views and explosed multiple selection filters as mentioned here: https://www.drupal.org/node/2315365I changed the following line in...
View ArticleDeprecate drupal_static() and drupal_static_reset()
Problem/Motivationdrupal_static() should ideally be obsolete, but there are many procedural places in core that use them.Other properly injected OO code needs to use drupal_static_reset() because of...
View ArticleDeprecate drupal_js_defaults()
Problem/Motivationcommon.inc has a drupal_js_defaults() function that has not been used in core since 2015.It is also unused in contrib:...
View Article[Ignore] In space (and/or this issue), no one can hear patches scream
Problem/MotivationSteps to reproduceProposed resolutionRemaining tasksUser interface changesAPI changesData model changes
View ArticlelookupDestinationIds() gives confusing error if first lookup value is NULL
Problem/MotivationIf the Sql map plugin's lookupDestinationIds() method is given an array of $source_id_values containing a NULL, then the row fails with a message "Extra unknown items for map...
View ArticleMigrateDestinationInterface::import() should document that it can throw a...
Problem/MotivationLooking at the code in MigrateExecutable, it looks like MigrateDestinationInterface::import() can throw a MigrateException.Furthermore, while simply throwing a MigrateException causes...
View Articlephpunit.xml is using a deprecated schema
Problem/MotivationRunning Drupal tests using the core phpunit.xml configuration under PHPUnit 9 yieldsPHPUnit 9.5.4 by Sebastian Bergmann and contributors. Warning: Your XML configuration validates...
View ArticleAdd hook_views_display_link_alter() to allow modules to alter view display...
Problem/MotivationIn #3025657: Add views area plugin to display a link to another view display within the same view a new display link area plugin was added to views, and in #2981044: Unify the...
View ArticleMissing *.min.js.map files when aggregation is on
Hallo, I'm trying to find why Views preview button stopped working and in logs I found some cases of missing js files for anonymous and admin as wellpage not found 12/27/2021 - 11:27...
View Articlehook_views_post_render provides inaccurate information
Problem/MotivationOriginal report:The documentation at http://api.drupal.org says the following about this function's parameters:string $output: A flat string with the the rendered output of the...
View ArticleEnsure only needed permissions are used for Update module functional tests
Problem/MotivationIn #3100386: Create contrib update module test cases that use semantic versioning @dww pointed out the administer themes is not a needed for permission for the tests to pass. Since...
View ArticleEnsure SearchPlugin has a configuration array
Problem/MotivationRunning migrate-import using drush/drush:^10 from a drupal 6 site to drupal 8.8. The drupal 6 site has core search enabled.An exception is thrown from...
View Articlea disabled block's admin title gets double-escaped
Problem/MotivationIf a block's admin title contains text such as ' then when it's disabled, that is double-escaped.Eg, not disabled:This block's great!Disabled:This block's great!...
View ArticleOnly migrate role permissions that exist on the destination
Problem/MotivationPermissions from contrib modules are migrated "as is" from Drupal 7 even if there is no Drupal 9 module providing the given permission. These permissions appear in the yaml file...
View ArticleMediaThumbnailFormatter => Calling ImageFormatter::__construct() without...
Problem/MotivationCalling ImageFormatter::__construct() without the $file_url_generator argument is deprecated in drupal:9.3.0 and the $file_url_generator argument will be required in drupal:10.0.0....
View ArticleIgnore, testing issue
Problem/MotivationSteps to reproduceProposed resolutionRemaining tasksUser interface changesAPI changesData model changesRelease notes snippet
View ArticleThrow consistent exceptions on invalid process plugin configurations.
Problem/MotivationCurrently the way we handle exceptions on configuration errors is inconsistent in our process plugins. Sometimes an exception is thrown in the constructor, sometimes we throw...
View Article