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

Convert field_storage_config and field_config's form validation logic to...

Problem/MotivationAs long as field_storage_config and field_config are not validatable (see #2164373-28: [META] Untie config validation from form validation — enables validatable Recipes, decoupled...

View Article


Image may be NSFW.
Clik here to view.

There is no way to delete file entities of other users

Problem/MotivationCurrently it's only possible to delete a file entity by the owner of an file entity. There is no additional condition defined for any permission or even an exception for user/1 (main...

View Article


Image may be NSFW.
Clik here to view.

Allow blocks to be configured to show/hide on 403/404 pages

Problem/MotivationSome blocks, like user login, should be shown on 403/404 pages. Others, like the help block, should not.Proposed resolutionAdd a visibility setting to blocks that shows them on...

View Article

Mobile / Desktop Icon Selection

I want this issue to be about settings basic desktop/mobile icon support -- provided by core.This has branding implication so I don't want to make this decision in isolation.Core is in the process of...

View Article

Path processors are fixated to current request and not the processed request

Problem/MotivationAs discovered in #2802403: Combination of language negotiation and path aliasing can cause a corrupted route cache, 404s the path processors are not working as expected. They are...

View Article


Comment Bulk Operation issue with pagination

I am doing bulk updates for comments list with pagination. I have a view to display list of unpublished comments with pagination. I am displaying 10 comments and operation is to publish the comments....

View Article

Setting entity language to an invalid language should throw exception

Problem/MotivationWhen getTranslation is called with the langcode of an invalid language, it throws an exception.InvalidArgumentException: Unable to get translation for the invalid language 'de'. in...

View Article

Url access / PathValidator not language/options aware

For this scenario (tests realized in a hook_page_attachments_alter() context):foreach ($languages as $lang) { $url = Url::fromRoute('<current>', [], ['language' => $lang]);...

View Article


Form API #ajax not working on link element

Problem/MotivationWhen adding Form API #ajax parameter to a Link type element: $form['link'] = [ '#type' => 'link', '#title' => $this->t('AJAX link'), '#url' =>...

View Article


Remove deprecated usage of Migration::set() and...

Problem/MotivationThis issue is a follow-up to #2796755: Deprecate Migration::set() and #3262395: $migration_dependencies has inconsistent structure. It should target the 11.0.x branch, which is not...

View Article

PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type...

PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in docroot/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php on line 112

View Article

Image may be NSFW.
Clik here to view.

Add or select media upload modal broken upon image upload

Problem/MotivationMedia library upload modal/widget keep breaking during the image uploading, happens randomly.What's happening: Step 1: In CKEditor click on the Insert from Media Library iconStep 2:...

View Article

[Meta] Correct spelling of Ajax

Problem/MotivationAjax, not AJAX or ajaxfrom the Industry-related words section of the Drupal content style guide the spelling for Ajax is Steps to reproducegit grep AJAX or this to see a list of...

View Article


Remove unused variable $result from MoveTest

Problem/MotivationRemove unused variable $result from MoveTest. There are couple of instances try { $result = $this->fileRepository->move(clone $source, $source->getFileUri(),...

View Article

Unexpected empty() function usage

Problem/MotivationFunction empty() checks the variable emptiness but not the value provided by the function result.https://www.php.net/manual/en/function.empty.php For example: #3080034: Remove...

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

User context missing when using toUrl in some circumstances

This error is likely be repro'd out of tests only, but reporting as I see it.Using toUrl within a Kernel test results in the following uncaught...

View Article


CKEditor 5 - Custom block

Problem/MotivationCKEditor 5 is not working in a custom block.Steps to reproduceInstall Drupal 9.5.1.Add custom block.Proposed resolutionFix issue:Uncaught TypeError: Drupal.editors is...

View Article

Add a route requirement based on entity properties

Problem/MotivationThere are sometimes usecases for setting access to specific routes based on entity properties, but where entity access isn't very useful.An example would be a tab that only shows on...

View Article

Olivero: Simplify code passing of region to template suggestion

Followup from #3182200: Follow proper BEM syntax within secondary navigation menuIn several places within the olivero.theme file, we pass a region name into a template suggestion by using...

View Article
Browsing all 295852 articles
Browse latest View live


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