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

Drupal alter's svg fill path's with base url -> broken svg

Example inside an svg that is imported in css as data-url:<path fill="url(#SVGID_1_)" d="M1256.4,386h1500v21h-1500V386z"/>Notice the "url(#SVGID_1_)". This will be converted...

View Article


Remove obsolete login blocks

Problem/Motivation#2503755: Switch from user login block to login menu link and search block in standard profile changed the Standard profile to no longer create a login block in Bartik in favor of the...

View Article


http.response.debug_cacheability_headers TRUE could cause a WSOD - AH01070:...

I was getting a WSOD with apache 2.4.29_1 and php-fpm 7.1.14 with the following error:Premature end of script headers: index.php AH01070: Error parsing script headers This was happening on a single URL...

View Article

Filtering block plugins by context is slow

Using the layout builder to customize the layout of an individual node, trying to select a new block to include is quite slow. This appears to be due entirely to filtering the available blocks by...

View Article

\Drupal\Core\Plugin\Context\EntityContextDefinition::getSampleValues()...

Problem/MotivationWhen evaluating plugin contexts, the context definition provides sample values for its context to use during comparison.For entity contexts, this means creating an entity for each...

View Article


Convert query('SELECT COUNT(*) FROM ...') to select() in test code

Problem/MotivationThere are a lot of calls to db_query('SELECT COUNT(*) ...');.Find for example just those in test code with find . -type f -name '*Test.php' -exec grep -Ei "QUERY.*COUNT.*\(\*\)" {}...

View Article

[PP-3] Replace all calls to db_query, which is deprecated

See #2848161: [meta] Replace calls to deprecated db_*() wrappers.Replace all usages of db_query in core, except in code that is testing db_query.Steps to create scripted patch:Script to do the majority...

View Article

Image may be NSFW.
Clik here to view.

IE11 & Chrome(PointerEvents enabled) & some Firefox scroll to the top...

Please credit `svenryen, nattie, joseph.olstad, mforbes, bwaindwain` from #2908543: Tabledrag is broken when you've scrolled down on the page in chrome 61Problem/MotivationAfter two recent commits, the...

View Article


Are form related html-tags stripped from global:custom text?

I want to create a sort of contextual help for creating and editing content. The user shall see specific help and good real world examples using a view showing content of the respective criteria. To...

View Article


Image may be NSFW.
Clik here to view.

Grey out the non-essential parts of the page when adding a new section in...

From #2940212-12: [meta] Miscellaneous UI issues for the Layout Builder module:The text "Add Block" is confusing to site builders who are not clear on the difference between custom/programmatic blocks...

View Article

Add visibility control to blocks within the layout builder

This issue is blocked by #2905922: Implementation issue for Layout Builder.Problem/MotivationLayout Builder introduces a new paradigm shift in page building and block placement for content entities...

View Article

Image may be NSFW.
Clik here to view.

UnmetDependenciesException when installing Drupal 8

Some unknown system requirement or setting not specified in the requirements is rendering Drupal uninstallable.Manifests as: Cannot install Drupal, hangs at "Installing Drupal: Initializing" I let it...

View Article

LayoutBuilderEntityViewDisplay::getRuntimeSections() does not delegate to...

Problem/MotivationWhile working on the Layout Library module, I discovered that Layout Builder is basically incompatible with any layout storage strategy except for its two built-in ones, which are...

View Article


Drupal::currentUser() should give sample code to get the current user entity

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal.php/function/Drupa...Getting the current user entity is a common enough task that this documentation should explain how to do it.The code...

View Article

Upgrade path: Clean up deleted revisions from {node_field_revision}

Problem/MotivationThis is a follow-up for: #2753971: ContentEntityStorageBase::deleteRevision() function does not remove node_field_revision entries. Some sites could have revision data in the...

View Article


Image may be NSFW.
Clik here to view.

[meta] Miscellaneous UI issues for the Layout Builder module

Problem/MotivationIn the process of reviewing #2922033: Use the Layout Builder for EntityViewDisplays, I noticed a number of small UI issues that could be improved. Some of these are specific to Layout...

View Article

Change 'field_block' block plugins to use "[entity_type] -...

Problem/MotivationWhile working on #2977587: Improve block listing in Layout Builder by hiding/moving uncommon block plugins and trying to split entity field blocks provided by the Layout Builder...

View Article


Taxonomy "Reset to alphabetical" doesn't clear cache of entities

Problem/MotivationWhen you reorder the taxonomy terms with the "Reset to alphabetical" button, the weight of all the terms is reset to 0 (seeable in database), but their cache is not cleared. If you...

View Article

Image may be NSFW.
Clik here to view.

Page Title block for Layout Builder does not have a place holder

Go to /admin/modules and enable Layout Builder module. Go to /admin/structure/types/manage/article/display and enable tick Use Layout Builder checkbox.On...

View Article

Image may be NSFW.
Clik here to view.

Remove Page Title block from homepage

Problem/MotivationThe `page_title` block placement on homepage seems unrelevant. Proposed resolutionHide the Page title block from the homepage.Remaining tasksHide the Page title block from the...

View Article
Browsing all 291671 articles
Browse latest View live