Split up FormTest
Problem/MotivationSlowest functional test by a long waySteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes snippet
View ArticleAllow the sidebar for the node form to be used on other entity forms as well
Based on #2803875: Node form meta information should not come from a theme and #2882801: Review and improve the media creation form, I had the idea that we could let entity forms/modules opt-in to the...
View ArticleSome tests fail with 'Cannot use positional argument after named...
Problem/MotivationIn PHPUnit 11, QueryBatchTest::testQueryBatch()PercentagesTest::testPercentages()PluginBaseTest::testUnpackOptions()fail withError: Cannot use positional argument after named argument...
View ArticleAdd an Autowire trait for plugins
Problem/MotivationWe already have a \Drupal\Core\DependencyInjection\AutowireTrait class, suitable for wiring dependencies into classes extending...
View ArticleFaulty toolbar subtree hash breaks asynchonous loading of admin menu content
Problem/MotivationThe toolbar subtrees use a hash to determine if access to the subtree should be allowed in ToolbarController::checkSubTreeAccess(). In certain situations the hash does not match,...
View ArticleTwig disallows dashes in variable names, so SDC should disallow it in prop names
Problem/MotivationStrictly speaking, this is not a bug in SDC. But … I just lost an hour over something SDC could've easily warned against: LOLOL an hour worth of debugging only to find out that SDC...
View ArticleSDC *.component.yml metadata is cached aggressively, gets in the way of...
Problem/MotivationWhen you specify a new prop, or even just change the metadata for an already-existing prop, that change is not reflected until :(most optimal): delete the component_plugins cache item...
View ArticleTwig embed leads to recursion and InvalidComponentException
Problem/MotivationI faced a very weird bug with SDC. If one component embeds another, it leads to an exception. It is very hard to track down, because it ends up in a wrongly compiled Twig PHP template...
View ArticleHave a way to implement the a preprocess function per each SDC component...
Problem/MotivationI think it could be interesting to allow some data preprocessing (validation, setting default values, etc.) via a preprocess function inside the component's folder.I have not found...
View ArticleRestore documentation on variable arguments in...
Problem/MotivationIn #3029500: Drupal\Core\Database\Query\Select::hasAllTags() and hasAnyTag() will require a new "$tags" argument in the next major version of its parent class we are removing...
View ArticleFileFieldCreationTrait methods should be protected
Problem/MotivationSteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes snippet
View ArticleAutocomplete doesn't trigger `formUpdated`
Problem/MotivationThe formUpdated event isn't triggered when selecting an option from the autocomplete suggestion list. This problem only exists when using the selection dropdown, while typing in the...
View Article10.3 upgrade now missing status-message theme suggestions
Problem/MotivationMessageCommand and the associated JavaScript API was added to Drupal core in 2019/Drupal 8.8.0, but was not used widely in Drupal core until 10.3.0, when the bigpipe module began...
View ArticleUnhelpful error message with enumeration problem
Problem/MotivationWhen a component defines a property with an enum value and is rendered with a value that is not an enum, the error message is...
View ArticleStop passing E_USER_ERROR to trigger_error() on PHP 8.4
Problem/MotivationRFC accepted https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_e_user_e...Steps to reproducecore$ git grep E_USER_ERROR core/includes/errors.inc:34: E_USER_ERROR =>...
View ArticleAllow contrib extensions to be installed by Drupal when core branch is 11.x/main
Problem/MotivationCurrently, contrib modules and themes can't be installed via "Extend" (/admin/modules) or Drush on a git clone of core that's at 11.x. This prevents testing of contrib modules on the...
View ArticleAdd Views EntityReference filter to support better UX for exposed filters
Continuation of #2429699: Add Views EntityReference filter to be available for all entity reference fields since there were so many comments the page was struggling to load.Slack...
View ArticleOlivero pager template creates additional grid columns
Problem/MotivationOlivero's templates/navigation/pager.html.twig nav element has the layout--content-medium class, whose CSS rules apply grid-column at various breakpoints, thus creating additional...
View ArticleBadRequestHttpException when user logs in (with incorrect password) using REST
When a user logs in using REST (JSON endpoint): http://www.example.com/user/login?_format=json and provides an incorrect username and/or password, the login fails as it should. But in the Drupal log, a...
View ArticleDialog button/inputs not visible when open details element
Problem/MotivationWhen a dialog gets bigger (long contents in details elements, new content via ajax etc.) than the max-height, then all elements in the overflow area are not anymore visible.Steps to...
View Article