Quantcast
Browsing all 297255 articles
Browse latest View live

Split up FormTest

Problem/MotivationSlowest functional test by a long waySteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes snippet

View Article


Image may be NSFW.
Clik here to view.

Allow 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 Article


Some 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 Article

Add an Autowire trait for plugins

Problem/MotivationWe already have a \Drupal\Core\DependencyInjection\AutowireTrait class, suitable for wiring dependencies into classes extending...

View Article

Faulty 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 Article


Twig 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 Article

SDC *.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 Article

Twig 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 Article


Have 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 Article


Restore 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 Article

FileFieldCreationTrait methods should be protected

Problem/MotivationSteps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes snippet

View Article

Autocomplete 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 Article

10.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 Article


Unhelpful 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 Article

Stop 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 Article


Allow 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 Article

Image may be NSFW.
Clik here to view.

Add 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 Article


Olivero 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 Article

BadRequestHttpException 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 Article

Dialog 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
Browsing all 297255 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>