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

Block settings vertical tabs only have summaries for core conditions

The block settings shows a vertical tab for every condition plugin, but only the core ones are handled in Drupal.behaviors.blockSettingsSummary to show a summary.

View Article


Add quotes around property name in exception message in Row.php

Problem/MotivationAn exception message in Row.php should include the name of the property not just $id. Original report: The invalid exception for multi language, throw a non standard translation...

View Article


Exception is thrown on changing "Site language" setting of a user...

Problem/MotivationAn exception is thrown on changing Site language setting of a user under /user/<uid>/edit if that user account is already translated to that target language.Steps to...

View Article

Add Trim Process Plugin

Problem/MotivationWhen dealing with content users can sometimes add extra characters such as extra whitespace or whatever, adding a process plugin using php's trim, rtrim, and ltrim functions would be...

View Article

Non-exposed and exposed sorts cause issues with the default sort order

Problem/MotivationSo the issue started when I added a non-exposed sort as the first sort out of three. The other two sorts are exposed, which looks something like this:Enabled: boolean ASC...

View Article


Submitting a comment in the non default language redirects you to the default...

Problem/MotivationIn a multilingual site if you add a comment on a node which is in the default language, everything is okay. But if you add a comment on a node which is not in the default language, I...

View Article

composer/composer dependency in drupal/core-composer-scaffold fails to update...

The new (ish) drupal/core-composer-scaffold plugin seems somewhat problematic:If a developer runs composer update, and there is an update available for composer, this will fail, because it first...

View Article

Misspelling of key #selection_settings

Problem/MotivationI found a little typo in buildConfigurationForm() of Class Drupal\node\Plugin\Action\AssignOwnerNode: The key '#selection_setttings' has three t's. In my opinion this could lead to...

View Article


Update core modules to use the new batch builder

Problem/MotivationA batch builder object was added in #2401797: Introduce a batch builder class to make the batch API easier to use. The Drupal core should be updated to use the batch builder.The code...

View Article


Remove try...catch from SessionHandler::write

Problem/MotivationQuoting from SessionHandler::write(): public function write($sid, $value) { // The exception handler is not active at this point, so we need to do it // manually. try { [...] return...

View Article

Unrelated error message when running tests with database errors

Problem/MotivationWhen running a non-interactive install (e.g. while running tests with PHPUnit), if there are errors with the database connection, you get an unrelated error of "Undefined index:...

View Article

MySQL version on status report is inaccurate

Hi,I have upgraded MySQL version from 5.6 to 5.7 and have updated settings.php file to reflect new information. However status report is still showing old MySQL info. I have tried clearing cache and...

View Article

buildEntityView calls resetCache with an array of ids not entities

Problem/MotivationGetting the follow error while working on a new test in #2614720: Fatal errors while loading/building orphaned comments1)...

View Article


Do not override container with itself in DrupalUnitTestBase::containerBuild()

When we call DrupalUnitTestBase::setUp(), before $this->containerBuild(drupal_container()); we call parent::setUp();, that calls TestBase::prepareEnvironment(), that sets container into the test...

View Article

Add base class for migrating reference fields

Problem/MotivationWe need to support migration of several different types of legacy reference fields to D8:Node and user reference, for both D6 and D7D7 taxonomy term reference fieldsD7 entity...

View Article


Image may be NSFW.
Clik here to view.

Views Preview Query shows a lot of double quotes

Problem/MotivationIn D9 (not D8) the Query preview now shows double quotes around a lot of tables, aliases and fields. This makes it really hard to read (and to copy/paste into a query...

View Article

update_delete_file_if_stale() must return a value or...

if (!file_exists($local) || update_delete_file_if_stale($local)) { return system_retrieve_file($url, $local, FALSE, FILE_EXISTS_REPLACE); } else { return $local; } We'll never use the local cache of a...

View Article


Concurrent drafts get lost when translated

Reproduce the bug:- Pick a random node configured by moderated content module, modify it and save it as draft. - Repeat the modification for all available languages on your site.Expecting: -Given four...

View Article

"Argument 1 passed to Drupal\Core\Field\WidgetBase::errorElement() must...

1. Goto content - Create - article 2. Feel the fields 3. press "save and unpublish" 4. get errorRecoverable fatal error: Argument 1 passed to Drupal\Core\Field\WidgetBase::errorElement() must be of the...

View Article

Image may be NSFW.
Clik here to view.

Quick Edit toolbar does not float up above content on first invocation, it...

Problem/MotivationWhen you first invoke the Rich text edit toolbar for the body field, the expanded toolbar will cover the text in the body field. It behaves like this in the last versions of Chrome,...

View Article
Browsing all 294871 articles
Browse latest View live


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