Remove unused variables [$resource,$key] from ResourceTest
Problem/MotivationRemove unused variables [$resource,$key] from ResourceTest foreach ($manager->getDefinitions() as $resource => $definition) { foreach ($definition['uri_paths'] as $key =>...
View ArticleScale-and-crop is vulnerable to bad aspect ratios
The scale-and-crop filter upscales before it crops images. This is bad if the aspect ratios of the input and output are strongly divergent, as it leads to a big intermediate image.Example: If I...
View ArticleUploaded files are impossible to replace
Problem/Motivation(/admin/content/files allows only to browse the files.There seems to be no way in Drupal to overwrite a file, and keeping the same filename. Deleting the file and replacing it with a...
View ArticleAn empty hook_theme() causes fatal errors in theme.inc
Currently in a Drupal 8 training, and we had an empty stub hook_theme() function with no return. When we enabled this module, it caused PHP fatal errors. The code in _theme_process_registry() could...
View ArticleCreate a redirect for the new Block types path
Problem/MotivationIn #2987964: Move custom block types admin link to admin/structure, we moved the "Custom block types" page from /admin/structure/block/block-content/types to...
View ArticleMove the SQLite and PostgreSQL code from the Views StringArgument to the...
Problem/MotivationThe views plugin argument for string values has some SQLite and PostgreSQL specific code. All specific code for a particular database should be moved to the module that is providing...
View ArticleMove Custom block library to Content
Problem/MotivationThe Block Layout page is for site-building tasks. Any configuration there is exported in the configuration management.But the Custom block library page is a page to create and edit...
View ArticleMedia library grid item label sticks out
Problem/MotivationIn claros's media-grid the item's name is higher than the space under the item preview. Screenshot attached.Steps to reproduceCreate a media library item and view it at...
View ArticleOnly allow route names, deprecate support for route objects in UrlGenerator...
Problem/MotivationFollowing #2917331: Decouple from Symfony CMF we can simplify the implementation of, and reduce the API surface of, methods in UrlGenerator that accept both a route name and route...
View Articlecomment_user_cancel() doesn't implement a batch
The problemWhen a user with many comments cancels his account, this could lead to php memory issues.What are the steps required to reproduce the bug?Cancel the user account of a User with thousands of...
View ArticleProvide options to sanitize filenames (transliterate, lowercase, replace...
Problem/MotivationThis issue has second most followers of all feature request.https://www.drupal.org/project/usage/transliteration had almost 300k reported installs during the Drupal 7 glory daysOn...
View Articleauthentication providers can fail access on routes with _access:...
Problem/MotivationA route with _access: 'TRUE' should always allow access.However, it's possible for authentication to fail.Steps to reproduce1. Enable basic_auth module 2. Set up an image derivative...
View ArticleProvide an element that converts large radio/checkbox option to select list
Problem/MotivationIn the current UI a user can add a huge number of options in a list, and choose either a Select Box or Radio buttons regardless of it's UX.User interface guidelines like from MS,...
View ArticleImprove usability, accessibility, and scalability of long select lists
Before going any further, know this: There's a patch of comments - #175-#235 - that may be a bit confusing as some of what was discussed spun off into a different issue: #3076171: Provide a new library...
View ArticleWrite tour integration for shortcuts page
Part of #1921152: META: Start providing tour tips for other core modules.Problem/MotivationWrite tour integration for shortcuts pageProposed resolutionCreate tour yml files for shortcuts pageRemaining...
View ArticleDrupal Usability Meeting 2023-02-03
This meeting takes place every Friday at 14:00 UTC (currently 6:00am PT, 9:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleEntityController doesn't pass dynamic route parameters
Problem/MotivationI have a contrib module for commerce that I need to pass the order id as a route parameter for the add page route. But EntityController doesn't pass in all the populated route...
View ArticleMenu item translation : breadcrumb displays (twice) "add" that have...
Problem/Motivation- Enable Multilingual modules - Add a language on the site (I added "spannish") - Enable Custom menu link translations on the settings page "admin/config/regional/content-language"...
View ArticleStrip HTML tags when using assertEquals() to compare markup
Problem/MotivationIn PHPUnit tests, we can use assertEquals() to compare MarkupInterface objects via the MarkupInterfaceComparator. Often, we only care about the text of the markup, and not the...
View ArticleGD toolkit & operations should fail gracefully in case of memory issues
Problem/MotivationFollow up for #2583041: GD toolkit & operations should catch \Throwable to fail gracefully in case of errors.In some PHP configurations, executing something like this $test =...
View Article