Fix DialogTest outside apache/mod_php
Problem/MotivationThe following line is a bit problematic.   $ajax_result = $this->drupalGetAJAX('ajax-test/dialog-contents', array(), array('Accept: application/vnd.drupal-modal'));The problem is...
View ArticleReplace user_name handler with Field API formatter
Problem/Motivationwe make several base fields to use just Entity field formatters and not special purpose field handlers in views. However, we have a lot of other field handlers in views that have more...
View Article[PP-2] Make node revision UI work with translations
Problem/MotivationIn #2453153: [PP-1] Node revisions cannot be reverted per translation we are addressing the problem of reverting node revisions without overwriting changes in translations that were...
View Article[META] Make entity revision translation work
Problem/MotivationThe D8 content translation model allows to create per-language variants of a single entity, as opposed to the D7 model that groupes separate entities (nodes) with different languages...
View ArticleFile views handlers need to be replaced with entity-aware formatters
Problem/MotivationOn #2393339: [META] Make sure Views base fields are using Field API for formatting, and do not lose functionality, we are updating all base entity fields in entity views data so that...
View Article[policy, no patch] Evolving and documenting Drupal core's structure,...
As I talked about in the core announcement, Drupal has experienced phenomenal growth over the past 14+ years. I wanted to take an opportunity to reflect on our current governance structure and try to...
View ArticleExpose Block Context mapping in the UI
Problem/MotivationBlock plugins have the plumbing to be contextual, but they don't have the UI exposed to allow for that sort of mapping.Proposed resolution In the course of building a firm foundation...
View ArticleEntity query age(EntityStorageInterface::FIELD_LOAD_REVISION) only gets...
Problem/MotivationThe following entity query, $vids = \Drupal::service('entity.query')->get($entity->getEntityTypeId()) ->age(EntityStorageInterface::FIELD_LOAD_REVISION)...
View ArticleDo not attempt field storage write when field content did not change
I tested on a profile2 entity save, with numerous fields, changing one one value.Without patching the field API, I got 409 SQL queries with about 98 DELETE, 144 SELECT, and 36 INSERTS ; Others are just...
View ArticleGREATEST function does not behave equally in all database engines
Problem/MotivationIn SQL SERVER, the implementation of the GREATEST function doesn't handle data types other than 'real'. This is causing an issue as noted in...
View ArticleAdd a fast and simple way to get module name from the module handler
Problem/MotivationBy @pwolanin:In the block manager and other places in core we have to use truly horrible code like this to get the human-readable name of a module:<?phpfunction...
View ArticleComment views field handlers need to be replaced with field/entity aware...
Problem/MotivationOn #2393339: [META] Make sure Views base fields are using Field API for formatting, and do not lose functionality, we are updating all base entity fields in entity views data so that...
View Article[policy, no patch] Allow crediting reviewers (and other non-coders) as...
Updated: Comment #14Problem/MotivationThe current commit messages generated by Dreditor credit anyone who has uploaded a new version of a patch, even if they have just done an easy reroll. By contrast,...
View ArticleUpdate EntityViewsData use of generic timestamp to use Field API formatter
Problem/MotivationOn #2393339: [META] Make sure Views base fields are using Field API for formatting, and do not lose functionality we are updating all uses of entity-unaware formatters for entity base...
View ArticleProvide a better UX for creating, editing & managing draft revisions.
Problem/MotivationThis is a follow-up for #218755: Support revisions in different states, which added API support for content moderation in Core. The related UX/UI implementation was left to this issue...
View ArticleDateFormatter::formatInterval is deeply flawed
DateFormatter::formatInterval is really flawed, and how it's being used is also flawed.It is purporting to format an interval (number of seconds) as a "time ago". But the way it's doing this is: -...
View ArticlePer language settings (vs translated settings) are not directly supported
Problem/MotivationPer Gabor in https://drupal.org/node/2272363#comment-8822223 I implemented translatable configuration in a way how it was not intended by the design. What a lot of people need is the...
View ArticleMessage region has not fixed width layout on Bartik theme
Problem/MotivationRegarding latest devs, message region is not fixed width layout in Bartik theme : This seems odd UX.Proposed resolutionAdd layout-container class on the region-message to get the same...
View ArticlePrevent drupalGet / checkForMetaRefresh from recursing too deep
I'm seeing a test failure in a documentation-only patch from this issue:#1003958: Correct _node_save_revision documentation to not refer to passing $node by reference, since it does not This...
View ArticleUnserialize preloaded routes on the fly
Problem/MotivationRoute preloading helps to avoid DB queries, but it comes with the cost to unserialize more than actually needed.Proposed resolutionStill load the preloaded routes, but just...
View Article