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

OOP hooks using attributes and event dispatcher

Problem/MotivationFor a very long time we wanted to introduce hooks in some OOP manner. The following goals altogether however have proven elusiveNo magic naming in the implementations. A hook...

View Article


Use API methods instead of form submissions in FilterFormatAccessTest::setUp()

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

View Article


[META] Convert some tests into Kernel or Unit tests

Problem/MotivationThere are still functional tests that can be converted, entirely or partially into Kernel/Unit tests.Functional tests (aka Browser tests) install a complete Drupal site, using a...

View Article

Allow inline style to certain html elements despite of "Limit allowed...

"Limit allowed HTML tags and correct faulty HTML" filter strips inline css. I know actually this is works as designed:A list of HTML tags that can be used. By default only the lang and dir attributes...

View Article

Image may be NSFW.
Clik here to view.

Add new Splitbutton render element to eventually replace Dropbutton

To evaluate splitbuttons from the MR, enable the splitbutton_test module and go to /splitbuttons . You must have $settings['extension_discovery_scan_tests'] = TRUE; in your settings.php for this test...

View Article


Consolidate methods on FormElementsLabelsTest

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

View Article

Add option to un-sticky table headers to benefit assistive tech users

Problem/MotivationSome accessibility concerns about the use of sticky table headers were brought up in #3070558: Implement bulk operation designs.@andrewmacpherson pointed out that the use of a sticky...

View Article

copy(), move(), and move_uploaded_file() ignores return value of stream_flush()

Problem/MotivationWhen using copy(),move(),move_uploaded_file(),\Drupal\Core\File\FileSystem::copy()\Drupal\Core\File\FileSystem::move(), \Drupal\Core\File\FileSystem::moveUploadedFile() or...

View Article


Throw an exception when building route paths unsupported by Drupal

Problem/MotivationI recently tried to implement a route of the format /openapi/{plugin_id}.{content_type} to allow for a URL like /openapi/jsonapi.yaml. This is supported upstream in Symfony but not in...

View Article


Normalize the incoming path with urldecode directly in RouteProvider

Problem/MotivationAfter updating Drupal from version 10.2.7 to version 10.30, a 404 error occurred!Bilingual website pl/enthe https//mydomain/en version works fine the https//my_domain version (by...

View Article

hook_menu_link_content_create_access() no way to get the current menu

Problem/MotivationCreated this issue because of #2996548: Compatibility with other modules (custom, contrib or even core).Currently in Menu Admin per Menu, access checks are added by overriding all the...

View Article

Do not use the system database for tests

Problem/MotivationAll tests are using the system "mysql" database when using MySQL or MariaDB database types. We should use a different one as "mysql" is a system database. Steps to...

View Article

ToolbarStoredStateTest needs wait after resizing window

Problem/MotivationThe test resizes the window but does not wait for events to completed.Steps to reproducehttps://git.drupalcode.org/project/drupal/-/jobs/2215768Proposed resolutionAdd waitRemaining...

View Article


UX: Certain users understand the word "Draft" to mean...

Problem/MotivationUX: Certain users understand the word "Draft" to mean "Unpublished" and are surprised that a node in "Draft" is published if a previous revision of the node is Published. Steps to...

View Article

Image may be NSFW.
Clik here to view.

Add "Disable image resize" setting to image fields

Problem/MotivationSome of our customers want to disable the image autoresize when images exceeds the maximum resolution defined in the field settings. They just want Drupal to reject the image because...

View Article


SQLite install tasks requires the file_system service

Problem/MotivationWhen installing with a Drupal site which has it's database connection predefined for SQLite (and maybe without), the Drupal site crashes due to the file_system service not being...

View Article

Uncaught TypeError: Cannot read property 'replace' of undefined

Problem/MotivationReceiving this error when clicking a button that submits a form in an ajax modal.Steps to reproduce??Proposed resolutionAdding this.url = ''; to line 402 in core/misc/ajax.jsRemaining...

View Article


Adjust custom navigation logo dimensions on upload

Problem/MotivationNavigation allows to upload a custom logo to be included at the top of the bar. Nowadays, the only restriction applied is related to image weight, but not for dimensions. That means...

View Article

Ensure that migrations of entities which have file or image fields depend on...

Problem/MotivationRight now, entities which have file or image fields can be migrated without the corresponding file migration, that ends in incomplete entity migrations (with stubbed files..)....

View Article

Upgrade 9.5.11 to 10.3.1 Users Can't Login

I've searched and read everything I can about Password Compatibility module, https://www.drupal.org/docs/core-modules-and-themes/core-modules/passwor..., and have migrated several sites from 9 to 10...

View Article
Browsing all 293492 articles
Browse latest View live