Quantcast
Channel: Issues for Drupal core
Browsing all 297576 articles
Browse latest View live
↧

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 Article


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


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

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

Image may be NSFW.
Clik here to view.

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


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

Image may be NSFW.
Clik here to view.

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

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


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


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

Image may be NSFW.
Clik here to view.

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

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

Image may be NSFW.
Clik here to view.

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


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

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


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

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


Image may be NSFW.
Clik here to view.

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

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

GD 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
Browsing all 297576 articles
Browse latest View live