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

Add caching to ConfigurableLanguageManager::getLanguages()

Problem/MotivationSee #3497333: Add persistent cache to CachedStorage::findByPrefixThis method causes an uncached query on every page request on translatable sitesSteps to reproduceProposed...

View Article


Don't automatically disable redirects for AJAX forms

FormBuilder::buildForm() currently disables form redirects for all AJAX forms. Why? Here's an attempt to remove that.

View Article


twig/twig in drupal/recommended-settings is at it again

I can never remember where to put drupal/recommended-settings issues because the github repo is locked to issue creation and search does not provide a page for the project on drupal.org, so here we...

View Article

Firefox retains form_build_id on form reloads, causing old form cache entry...

Problem/MotivationSeems to be some issue with the form cache interaction with the media library widget, and possibly other complex widgets. Not sure where the issue is exactly though. The problem is...

View Article

Compressed ajax_page_state['libraries'] can exist in both...

Problem/Motivation#3348789: Compress ajax_page_state added compression to the ajax_page_state['libraries'] and a middleware to uncompress it. It first checks $request->request and uncompresses that....

View Article


Allow forms to be defined in three segments: schema, UI, data

Problem/MotivationForm arrays are a tight coupling of three concepts:Schema: The fields represented by the form, their title, and their data type. Also includes validation definitions like "minimum...

View Article

SectionStorageManager::load() does not evaluate constraints

Problem/Motivation\Drupal\layout_builder\SectionStorage\SectionStorageManager::findByContext() currently uses filterPluginDefinitionsByContexts() which itself checks constraints. But that is not run on...

View Article

Improve ConfigDependencyManager::getDependentEntities() documentation

#2080823: Create API to discover config entities' soft dependencies and use this to present a confirm form on module uninstall added a method getDependentEntities() to...

View Article


search_index isn't an option for content preview

Problem/Motivation#1510544: Allow to preview content in an actual live environment added the the ability to preview content which is an invaluable tool to both site developers and content creators. In...

View Article


Layout builder "Revert to default" updates the current revision

Problem/MotivationReverting to the default layout a content item with a customized layout updates the current revision.Tested on a 8.7.x-dev (90a748ff63) install via Standard profile. Steps to...

View Article

PHP Extensions Disabled

Problem/MotivationPHP Extension Disable while installing Drupal 10.4.1 using XAMPP on Windows 10 Localhost.I have searched but not found any solutions for Windows 10 in the support pages. A solution is...

View Article

Replace js and twig messages with webcomponent Umami-message

Problem/MotivationFollow up from #3100083: Add js message theme override to match Umami message markup to discuss/possibly implement js messages in Umami with web componentsWhat benefit do we get from...

View Article

Page title block settings removes pages titles from views pages and group pages

In the block layout settings (/admin/structure/block) the page title can disabled / enabled per content type.But this seems to have a major bug:If you make changes to the page title block settings and...

View Article


Create content link missing after creating content type

Problem/MotivationAfter creating a content type, I noticed the create link for it in the admin menu was missing.It only took a refresh to get the link, but this might confuse new users.This is likely...

View Article

Try to use is_file() instead of file_exists() in DrupalKernel::findSitePath()

Problem/MotivationSee discussion in #655190: Allow hook_install_tasks() to be called from a profile's .install file (or document that it can't be) for background.Also see #752730: Remove file_exists()...

View Article


SqlBase::prepareQuery() should be called also on count

Problem/MotivationSuppose that in a source plugin, extending from SqlBase, you want to override SqlBase::prepareQuery() and use that to add additional tags or meta-data to the query. You don't do that...

View Article

Improve debugability of block plugins returning NULL in Layout Builder

Problem/MotivationPlacing a block that returns NULL will triggerTypeError: Argument 1 passed to Drupal\Core\Cache\CacheableMetadata::createFromRenderArray() must be of the type array, null given,...

View Article


Pager option 'Items per page' with empty value gives WSOD

Problem/MotivationWhen creating a View with a pager, a WSOD appears if the pager setting 'items per page' is left empty. It leave the view unusable, an a new view must be created to resolve the...

View Article

Expose the `translation.import_enabled` locale setting in admin UI

Problem/MotivationWhen we install the Locale module and configure more than one language, on each module install we see the progress bar "Updating configuration translations" which takes quite a lot of...

View Article

Rewrite as URL adding equals sign to end of url.

Problem/MotivationCurrently drupal_get_query_array does't support a syntax like that 'http://domain.org?flag' because it sets the value of flag to "". If drupal_http_build_query is called on this it is...

View Article
Browsing all 296290 articles
Browse latest View live


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