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

Image may be NSFW.
Clik here to view.

Use READ COMMITTED by default for MySQL transactions

I've run into an issue as a part of #937284: DEADLOCK errors on MergeQuery INSERT due to InnoDB gap locking when condition in SELECT ... FOR UPDATE results in 0 rows. If for some reason the db_merge()...

View Article


Can only intentionally re-render an entity with references 20 times.

Problem/Motivation\Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFieldFormatter::viewElements() tracks how many times an "instance" of a reference has been rendered, to avoid ending up...

View Article


Blocks not rendered in preview page

On a published node page, all the Blocks configured in any regions(with specific context) are available. But on the preview page, the same blocks are not available.Example: Lets say you have configured...

View Article

Remove unused variables from core

Problem/MotivationIn Drupal we have many places where we declare unused variables. These lead to unnecessary work both in reviewing code and for the PHP interpreter.Remaining tasksFix...

View Article

Image may be NSFW.
Clik here to view.

Unnecessary restrictions on logo format: Can't upload replacement SVG logo

ProblemPage: admin/appearance/settingsAction: I want to set an svg image file as the logoSituation 1: - Place the file logo.svg myself on the root of the web site. - Uncheck "Use the default logo...

View Article


Create the new method Drupal\Core\Database\Connection::getPrefix() and...

Problem/MotivationWe now have the method Drupal\Core\Database\Connection::prefixTable($table) which returns the prefix for the table. In D9 and before there was the possibility to have different...

View Article

Image may be NSFW.
Clik here to view.

a disabled block's admin title gets double-escaped

Problem/MotivationIf a block's admin title contains text such as ' then when it's disabled, that is double-escaped.Eg, not disabled:This block's great!Disabled:This block's great!...

View Article

Fix PHPStan L0 failures that cannot be included in baseline

Problem/MotivationSpin off from #3178534: Start running PHPStan on Drupal core (level 0) for baseline generation blockers.Steps to reproduceProposed resolutionRemaining tasksUser interface changesAPI...

View Article


Update standard profile so Olivero is the default theme

Split off from #3219958: [META] Make Olivero the default theme for Drupal 10. Note that we hope to have this completed by Drupal 9.3. There will be work on this as discover which tests are dependent on...

View Article


Allow an opt out of specific fields from the layout builder UI

Problem/MotivationThe following is based on the context of an agency working for a client, so in this story there are 2 distinct layers of responsibility. The client, who manages the content and needs...

View Article

Image may be NSFW.
Clik here to view.

New translations for moderated nodes are not created in the initial workflow...

Problem/MotivationWe have defined a workflow with these states:DraftNeeds ReviewPublishedWe have two roles:author (Who creates content in draft and sets it to "needs review")admin (Who can transition...

View Article

The DrupalMediaLibrary class uses the $moduleExtensionList property when the...

The DrupalMediaLibrary class has the $moduleExtensionList property, while its parent class has the $moduleList property. Both the properties are used to contain an instance of the extension.list.module...

View Article

Only create blocks in FieldBlockDeriver for entities that can be customized...

Problem/MotivationSince having lots of block derivatives has various implications for performance, it would be great to only create field blocks for entities that are customised with layout builder.I...

View Article


Remove the DrupalMediaLibrary::isInternal() method, which returns the same...

The DrupalMediaLibrary::isInternal() returns the same value returned from the method implemented by the parent class, CKEditorPluginBase::isInternal().DrupalMediaLibrary::isInternal() can be removed.

View Article

Uncaught exception SplFileInfo::openFile during installation on Windows when...

Problem/MotivationDiscovered as part of #2606772: Long Twig cache directories can cause failures on some filesystems.On all Windows machines, some encrypted Linux filesystems, and some Docker...

View Article


Easy Out of the Box - January 10 Meeting in Slack

IntroductionsStatus and what's nextWhere can contributors help this week? There will be threads for the individual components.Claro discussionRoadmap is located here:...

View Article

No Page layout or theme

My first install of Drupal8. I'm installing in my shared hosted space where I have many Drupal 7 client installations. First problem was that I got a reminder to upgrade my php version so I set that to...

View Article


Needs Reset password for some users after upgrading drupal 8 to 9

Problem/MotivationSome users' password is not working after upgrading from Drupal 8 to 9, they need to reset the password. Why only some users need to reset the password while some users are able to...

View Article

\Drupal\Core\Url does not accept root-relative (file) URLs, making it...

Problem/MotivationExamples:template_preprocess_file_link()\Drupal\file\Plugin\Field\FieldFormatter\BaseFieldFileFormatterBase::viewElements()\Drupal\file\Plugin\Field\FieldFormatter\FileUriFormatter::v...

View Article

Implement Entity::fields() for migration destinations

Problem/MotivationThe Entity migrate destination plugin doesn't implement the fields() method, and so does not allow reporting of the available fields of the destination entity.This means that...

View Article
Browsing all 293926 articles
Browse latest View live