Symfony deprecations in Constraint plugins
Problem/MotivationIn #3420990: Convert Constraint plugin discovery to attributes, the conversion from using annotations to attributes for Constraint plugins led to tests failing because Symfony...
View ArticleDeprecated function: strnatcasecmp(): Passing null to parameter #1 ($string1)...
Problem/MotivationDeprecated function: strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in Drupal\Core\Layout\LayoutPluginManager->Drupal\Core\Layout\{closure}()...
View ArticleRemove $context properties from ConstraintValidators
Problem/MotivationIn CommentNameConstraintValidator, EntityTestCompositeConstraintValidator and EntityTestEntityLevelValidator there is the following declaration: /** * Validator 2.5 and upwards...
View Article"Link label to the referenced entity" changed behavior from Drupal...
Problem/MotivationI had this issue https://www.drupal.org/project/workflow/issues/3415585.A view containing a contrib workflow (https://www.drupal.org/project/workflow) "From state"/"To state" item...
View ArticleUmami Demo: review of the already merged SDC components
Problem/MotivationWe are building UI Patterns 2.x, based on SDC API, and we are using Umami Demo for testing our site building and contribution features (usage of SDC components in blocks, views,...
View Article[PP-1] Async database query + fiber support
Problem/MotivationWith #3259709: [PP-1] Create the database driver for MySQLi we'll have a database driver that is able to execute asynchronous queries.I think we need potentially two APIs to handle...
View ArticleOne form validation function should be able to cancel other validation steps
Transferred from https://security.drupal.org/node/134653 since this was determined to be a feature request for FAPI, as opposed to a security vulnerability.Problem/MotivationExample 1 reported by...
View ArticleMenu Item autocomplete field only autocompletes node paths
Problem/MotivationDrupal nowadays includes a cool feature that allows you to autocomplete paths when adding menu links. Unfortunately the MenuLink Autocomplete field can only autocomplete paths for...
View ArticleAdd the notion of a 'configured layout builder block' to solve a...
Problem/MotivationThere are currently a number of pain points with Layout Builder and how it interacts with the block plugin system as follows:without layout builder restrictions module the default...
View ArticleReturn translated term name on views "Content: Has taxonomy term ID...
Problem/MotivationFrom the original bug report: I have a view that lists nodes, filtered by contextual filter "Content: Has taxonomy term ID (with depth)". In the view I override the view title in the...
View Article"Hide if empty" ignored for fields
Problem/MotivationAn empty row is output, even if "Hide if empty" is enabled for the field.This is extra problematic in views using "Responsive Grid" format, since it can lead to an empty space.Oddly,...
View ArticleAllow Concept of Section Wrappers
Problem/MotivationAt times, sections in a layout will need to be grouped by an HTML wrapper, such as <div> or <section>. Following are two such scenarios:Problem 1Themer needs a background...
View ArticleDependencySerializationTrait depends on removed __PHPUNIT_BOOTSTRAP global
Problem/Motivation__PHPUNIT_BOOTSTRAP was removed along with all globals in PHPUnit 10. DependencySerializationTrait relies on it to "fix" tests.This was added as part of #2553655: Convert...
View ArticleFix change record date
Problem/MotivationSomehow, this change record got dated into the future, 16 June 2024.Content type entities are marked as syncing during migrationsSteps to reproduceProposed resolutionRemaining...
View ArticleRequire `langcode: …` only for simple config that contains translatable values
Problem/MotivationContext: This was discovered in #3426429: [PP-1] Mark layout_builder.settings fully validatable, because langcode: en had to be added to the new layout_builder.settings config for it...
View ArticleAvoid overwriting .htaccess changes during scaffolding > security problem
Problem/MotivationIf users modify scaffold files (e.g. ".htaccess"), then they might not get changes to this file made in newer versions of Drupal.Scaffold files should not be modified in...
View ArticleAllow end date to be optional
Problem/MotivationThe 7.x Date module allowed the field to have an optional or required end date. D8 always requires the end date.Proposed resolutionMake end_value in DateRangeItem optional, add...
View ArticleClass active-trail always added to li element when linking to front page
Class active-trail alway added to li element when linking to front pageNavigate to admin/structure/menu/manage/mainset any menu link with this menu link will active in all the pages in the site not...
View ArticleOverwrite Symfony constraint errors in constructors instead of properties
Problem/MotivationDiscovered in #3394694: [Meta] Symfony 7 compatibility and #3425150: Symfony deprecations in Constraint plugins and already handled for one case in #3276196: The...
View ArticleAdd CronSubscriberInterface so that services can execute cron tasks directly
Problem/Motivationhook_cron() is fairly dated and limited concept. One is that you can only have a single implementation per module, so if you need to do multiple things, you need to put it all in the...
View Article