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

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 Article


Replace 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


Image may be NSFW.
Clik here to view.

[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 Article

File 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


Image may be NSFW.
Clik here to view.

[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 Article

Expose 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 Article

Entity 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 Article


Do 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 Article


GREATEST 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 Article

Add 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 Article

Comment 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 Article


Update 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 Article

Provide 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 Article


DateFormatter::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 Article

Per 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 Article


Image may be NSFW.
Clik here to view.

Message 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 Article

Prevent 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 Article

Unserialize 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
Browsing all 294871 articles
Browse latest View live


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