Optimize update module's UpdateTestBase
Problem/MotivationTo refresh the update status data, the base class visits the update status page, clicks a link, waits for meta refresh, which then redirects back to the update status page.We can...
View ArticleEmpty FilterUrl maximum link text length setting trims to ellipsis only
Problem/MotivationWhen using the "Convert URLs into links" text filter (filter_url) URLs embedded within text are automatically converted into HTML links. If the plugin's "Maximum link text length"...
View ArticleAllow php packages to register services and dr commands
Problem/MotivationComposer already knows how to autoload classes from a php package. But in order to use a php packages classes as services on each site one has to create a services.yml and tell Drupal...
View ArticleUnable to unselect a multi select exposed filter in ajax view
Problem/MotivationWhen using a multi select exposed filter in an ajax view, it is not possible to un-select the given filter in case the filter parameter is present in the url.Steps to reproduce1....
View ArticleAdd support for virtual tables (SQL Views) to the DB Schema Definition API
Problem/MotivationThe Database Schema API supports defining and managing database tables, but it has no equivalent support for SQL views.Modules that need an SQL view must currently execute DDL...
View Articlebig_pipe error with empty destination
Problem/MotivationOn a base Drupal 11 install, when navigating to /big_pipe/no-js?destination= a 500 error occursThe website encountered an unexpected error. Try again later.InvalidArgumentException:...
View ArticleIndicate on forms sidebar toggle button that sidebar has child element errors
Problem/MotivationSpin off from #3604037: Indicate that grouping elements have child element errors for UX and a11y.Child elements in the forms sidebar are invisible to the user when the sidebar is...
View ArticleIntroduce FormState::getValueForElement() to match setValueForElement()
Problem/MotivationWe have $form_state->setValueForElement($element, $value) that uses $element['#parents']. We do not have a corresponding getValueForElement().Proposed resolutionIntroduce...
View ArticleIndicate that grouping elements have child element errors for UX and a11y
Problem/MotivationThe work here builds heavily on the discussion and work in #2848507: Indicate that grouping elements have child element errors for ux and a11y, so contributors to that issue should...
View ArticleIndicate in form error messages when error is sidebar
Problem/MotivationThe usability team recommends adding some indicators to form validation error messages in the top status message area when the invalid field is in the advanced sidebar. The reason is...
View Article[random test failure]...
Problem/MotivationUncaughtExceptionTest::testLostDatabaseConnection is failing for MariaDB (via PDO)Drupal\FunctionalTests\Bootstrap\UncaughtExceptionTest::testLostDatabaseConnection...
View ArticleConvert LazyContextRepository to use a service locator
Problem/MotivationLazyContextRepository injects the container and a set of service IDs.Service locators provide the same capability without needing the entire container.Steps to reproduceProposed...
View ArticleAdd an experimental entity json storage module
Problem/Motivationhttps://www.drupal.org/project/json_entity_storage is a contrib sandbox that implements cross-database compatible document storage for content entities by @amateescu.It relies on (at...
View ArticleConvey AJAX progress messages to assistive technology.
Problem/MotivationThe AJAX API has a feature to display a progress message, but it isn't conveyed to assistive tech like screen readers.'#ajax' => array( 'callback' =>...
View Article[ci] Share compiled scripts between PHPUnit processes with opcache.file_cache
Problem/MotivationEvery PHPUnit test method in core runs in its own PHP process (#[RunTestsInSeparateProcesses], enforced in BrowserTestBase and KernelTestBase). Each process compiles about 2,300 PHP...
View ArticleEntity form default ::afterBuild and ::processForm are not working correctly...
Problem/Motivation\Drupal\Core\Entity\EntityForm::form maps by default a #process callback to ::processForm and a #after_build callback to ::afterBuild. This is not working correctly with subforms,...
View ArticleDo not use a CSS-only required marker in forms per WCAG 2.0
Follow-up to #2152217: Remove theme_form_required_marker() from the theme system - use CSS insteadUpdated as of #165.Problem/Motivation3 years ago, in #2152217: Remove theme_form_required_marker() from...
View ArticleAdd an EmbeddableFormInterface so that FormInterface can delegate to multiple...
Problem/MotivationThe text format configure form contains the forms of all of its filter plugins. The block entity form contains the form of its block plugin. The view entity contains the forms of its...
View ArticlePHPUnit 13.2 - Replace expectExceptionMessage() with...
Problem/MotivationPHPUnit 13.2 deprecates TestCase::expectExceptionMessage() in favor of TestCase::expectExceptionMessageIs() (stricter) or TestCase::expectExceptionMessageIsOrContains() (equivalent to...
View ArticleSplit up SandboxManagerBaseTest
Problem/MotivationVery slow kernel test compared to the others.Steps to reproduceProposed resolutionRemaining tasksUser interface changesIntroduced terminologyAPI changesData model changesRelease notes...
View Article