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

Avoid loading all taxonomy terms on taxonomy term edit page for very large...

Problem/MotivationA very large vocabulary will cause the parent terms selector in "Relations" to hang a taxonomy term edit page. The page will typically load, but only after 5-8 minutes have...

View Article


Error when navigation JS is loaded for anonymous users

Problem/MotivationFor anonymous users, the javascript file admin-toolbar-wrapper.js gets loaded for some reason that I could figure out. That then issues the following error on the browser...

View Article


Placeholders cannot attach drupalSettings if drupalSettings was loaded in header

Problem/MotivationI noticed that if I attach a library that depends on drupalSettings, and load it in the <head> element, and then also have a placeholder that attaches something to...

View Article

Create class to replace hook_requirements('install')

Problem/MotivationHook requirements uses phase right now to manage whether it is runtime, install, or update. Let's move the install portion to a class so we can deprecate hook_requirements.Steps to...

View Article

Modules that create config cannot be installed alongside modules that depend...

Problem/MotivationExperience Builder creates config at install time in hook_rebuild(). It also has tests that install submodules that depend on that config. These tests fail in 11.x because the config...

View Article


RuntimeException: Adding non-existent permissions to a role is not allowed

Problem/MotivationIn some cases unsintalling a module may leave "ghost" permissions in the database. If such permissions exist editing permissions will result in WSOD from...

View Article

Have a way to implement the a preprocess function per each SDC component...

Problem/MotivationI think it could be interesting to allow some data preprocessing (validation, setting default values, etc.) via a preprocess function inside the component's folder.I have not found...

View Article

Composer scaffolding fails when permissions on default.settings.yml or...

Problem/MotivationThere are scenarios where a failure is reported when perform various composer commands such ascomposer require [RuntimeException] Could not delete...

View Article


Add an in-memory LRU cache

Problem/MotivationLong running processes - migrations and any big drush command can run into memory issues, especially with entity static caching.Proposed resolution#375494: Restrict the number of...

View Article


Fix DrupalPractice.Objects.GlobalFunction in system test modules

Problem/MotivationPart of the work to enable DrupalPractice.Objects.GlobalFunctionSteps to reproduceProposed resolutionEnable sniff for system test...

View Article

Sql::addWhere has wrong type for $value

Problem/MotivationFound an error in the type declaration of $value in \Drupal\views\Plugin\views\query\Sql::addWhere. It defines string|null but should also allow for array as explained in the argument...

View Article

Fix PHPStan missingType.generics for FieldItemListInterface not specifying...

Problem/MotivationFix i$ignoreErrors[] = [ 'message' => '#^Method Drupal\\\\Core\\\\Entity\\\\ContentEntityBase\\:\\:getTranslatedField\\(\\) return type with generic interface...

View Article

Renderer::getCurrentRenderContext() triggers a TypeError when there is no...

Problem/MotivationWe have a hook_rebuild that calls Url::fromRoute()->toString(). We calling drush cr, it works correctly. But when calling drush updb, it crashes with this error:TypeError:...

View Article


Update ComponentValidator to always include the component ID

Problem/MotivationWhen a component defines a property with an enum value and is rendered with a value that is not an enum, the error message is...

View Article

RssResponseCdata filtering out common html tags

Problem/MotivationAfter upgrading to Drupal 10.4.0, I found that our RSS feed doesn't render div, img, and style tags. Doing so breaks our RSS email structurally (div) and visually (img and...

View Article


File::generateSampleValue makes bad Uris

Problem/MotivationI'm using devel_generate to generate nodes which have file attachments.Drupal\file\Plugin\Field\FieldType\FileItem::generateSampleValue() generates uris with 3 slashes when files are...

View Article

Entity queries querying the latest revision very slow with lots of revisions

After upgrading to 8.4 we noticed a performance decrease on one of our sites. The page that is taking minutes to load is a multilanguage page with several field collections and revisions enabled.Some...

View Article


Adding callback_form_element_process (#process) to Form Element removes...

Problem/MotivationI need to add a custom callback_form_element_process to some form widgets, but this makes other callbacks ignored. Initially this issue is reported in #3294468: Select2 widget fails...

View Article

Make BlockContentForm::save() return

Problem/MotivationBlockContentForm::save() does not have a return statement, but the interface it implements documents that it ought to return "int Either SAVED_NEW or SAVED_UPDATED, depending on the...

View Article

Image may be NSFW.
Clik here to view.

Allow modules to hook into top of content section of new core navigation

Problem/MotivationNavigation uses layout builder to define regions for content and footer. Currently you can place limited blocks into content, but footer is restricted. Modules like Environment...

View Article
Browsing all 298927 articles
Browse latest View live


Latest Images

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