Mark modules with unmet composer dependencies uninstallable
Problem/MotivationIn Drupal 8, contributed modules may require Composer dependencies, but Drupal core itself will not require site builders and developers to use Composer to assemble a site's code...
View ArticleDocumentation for $options in \Drupal\Core\Url methods is wrong / incomplete...
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Url.php/f...Many of the methods on Url take an $options array as an argument. These are: __construct() fromRoute()...
View ArticleFatal error running some tests in UI with locale.module enabled
Problem/MotivationI had an interesting problem today. I was running a few SimpleTest tests from the admin/config/development/testing page (which, I realize, many people think is a bad idea, but...
View ArticleStyling of button breaks while using Bartik as administration theme theme
Styling of button breaks while using Bartik as admin theme. Please have a look at "place block" button in the attached screenhots.
View ArticleEntityQuery sorting for cardinality > 1 fields
Problem/MotivationCurrently Sorting on fields with cardinality > 1 yields completely nonsensical results, for example flipping ASC and DESC does ... nothing. Imagine entity1->field[0]->value...
View ArticleMachine name element leaks to much data to drupalSetting
Problem/MotivationThe machine name element passes the entire data from #machine_name to the frontend via drupalSettings. This exposes unnecessary data e.g. the php object or class which is used for the...
View ArticleAllow Link and LinkGenerator::generate() to provide attributes.
Problem/MotivationFollow-up to #2614628: menu local task and local actions are missing link context variablesLink currently builds up attributes from the Url object. This is counter intuitive since the...
View ArticleAttributes of a block content are applied to block itself
If a block returns a renderable array and the array has direct attibutes they will be "stolen" from the original content and applied to the block itself.For example a if a block returns something like...
View ArticleSome plugin annotations contains legacy "derivative" property
Problem/Motivation\Drupal\migrate\Annotation\MigrateDestination contains a derivative property. A derivative is a plugin and not the class that provides derivative plugin definitions (they have long...
View ArticleExpose link_type on LinkWidget element
I'm working on clientside_validation for D8 and the problem is that this widget outputs either a url element or an entity_autocomplete, but when outputting as entity_autocomplete, our code has no way...
View ArticleQuery string is appended multiple time after each AJAX request
Problem/MotivationFollow-up to #2263569-263: Bypass form caching by default for forms using #ajax. Steps to reproduce On drupal frash install. Convert auto tagging widget on article to autocomplete...
View ArticleDeprecate Comment::permalink() method and rename it to not be ambiguous with...
Problem/MotivationOn CommentInterface we have two different methods CommentInterface::permalink and EntityInterface::uri. We also have comment_uri so If we want to remove comment_uri which method will...
View ArticleAJAXified glossary view arguments fail when Language URL detection enabled
Problem/MotivationAJAX filtering of the glossary view does not work on multi-language sites. Parsing the path for the view arguments fails when the language pathPrefix set.Bug ported from D7 @see...
View ArticleIncorrect site branding documentation in page.html.twig
Why is this RC eligibleBecause it only changes docs.As far as I can tell, since site branding was moved into block--system-branding-block.html.twig, the site branding variables site_name, site_slogan...
View ArticleContextual links on Page title block are confusing
Problem/MotivationSince the Page Title element is now a block, we can configure the block settings from the contextual block links. If we want to hide the title from one specific page a common flow...
View ArticleEntityViewsData should add relationships to revision tables
Problem/MotivationIn NodeViewsData<?php $data['node_revision']['nid']['relationship']['id'] = 'standard'; $data['node_revision']['nid']['relationship']['base'] = 'node';...
View ArticleTermStorage::loadTree is not language-aware
Terms displayed on the vocabulary's list page under Admin -> Structure -> Taxonomy do not display their translated label when the translated language is active.Additionally, using this function...
View ArticleRe-add some documentation about what you can get from the node object in...
Follow-up to #2513266: Twig templates can call delete() on entities and other objectsProblem/Motivation#2513266: Twig templates can call delete() on entities and other objects removed some docs about...
View ArticleInform users/developers about entity/field mismatch details if it happens
Problem/Motivation#2542748: Automatic entity updates can fail when there is existing content, leaving the site's schema in an unpredictable state introduced an error message about entity / field...
View ArticleConsider to split EntityInterface::preSave() and postSave() methods into...
Problem/MotivationIn #2474075: Fix Node::preSave() and document that preSave() and postSave() are not working with ContentEntity translations we agreed that we have an inconsistent API. While...
View Article