drupal_lookup_path() - different aliases returned 1 time after cache clear...
Hello, i believe there is mistake in drupal_lookup_path() function, because if i have 2 aliases for the same node in different languages - in my lang and in LANGUAGE_NONE, then this function will first...
View ArticleDo not query user_roles directly
Currently user_roles is a weird bridge between the list of available roles (which is configuration) and the user (which is an entity). I suggest we move a user's role assignments to the user entity as...
View ArticleTest issue for Make ContentEntityDatabaseStorage handle changes in the entity...
Helper issue for #1498720: Make ContentEntityDatabaseStorage handle changes in the entity schema definition to avoid spamming it with patches to be tested. I hope I didn't break too much stuff.
View ArticleConvert content_translation routes to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleAdd tim.plunkett as a maintainer for Forms system, Routing system, and...
Problem/MotivationBecause the initiatives I've worked on in D8 have touched every part of core, my fingerprints are all over pretty much everything. But in addition to what I've already signed up for,...
View Article[META] New plan, Phase 2: Implement menu links as plugins, including static...
Problem/Motivationsee: #2256497: [meta] Menu Links - New Plan for the HomestretchThe architecture and general implementation is being reviewed in #2227441: New plan, Phase 1:Review the architecture and...
View ArticleTheme .info.yml file changes are not picked up even after clearing cache or...
Drupal 8 no longer detects changes to either the set of regions of a theme or simply name changes after a cache clear; this information is stored in State and unfortunately only updated when either a...
View ArticleRemove #type 'tableselect'
Follow-up to: #80855: Add element #type table and merge tableselect/tabledrag into itBlocked by#1876712: [meta] Convert all tables in core to new #type 'table'GoalRemove obsolete render element #type...
View Article[meta] Convert hook_element_info() to RenderElement and FormElement plugins
Problem/MotivationFollow-up to #2305839: Convert hook_element_info() to annotated classes Will likely be broken down per-module.Proposed resolutionRemaining tasksUser interface changesAPI changes
View ArticleTypo in docs for function Testclass::verbose
Hello.Just stumbled across this on Drupal 7, but see now that this is also present in drupal 8.I tried to search if someone else posted a patch for this, but could not find it. If that is the case,...
View ArticleConvert hook_element_info() to annotated classes
Problem/Motivation#1617948: [policy for now] New standard for documenting form/render elements and properties explains the problem space.Proposed resolutionThis will introduce a new ElementInfo...
View Article"class" attribute in drupal_render should be an array
API page: https://api.drupal.org/api/drupal/core!includes!common.inc/function/drup...The drupal_render documentation has instances of setting class to a string like:<?php'#attributes'=>...
View ArticleConvert PasswordHashingTest unit tests to phpunit
These are:System/PasswordHashingTest.phpTests that require a fully bootstrapped environment and/or the database are: System/SettingsRewriteTest.phpSystem/SystemInitTest.phpTest that have been converted...
View Articlefield_update_field() fails if a field schema removes an index
I have a field type in which the schema can be edited by the user in the UI. They can add or remove columns to the field schema, which means there also may be indexes that existed in my...
View ArticleViews do not depend on modules providing their displays
Problem/MotivationViews collects dependencies for a view in all sorts of ways, eg. handlers used under displays. Unfortunately the module providing the display itself is not added as a dependency,...
View ArticleAdd an easy way to create HTML on the fly without having to create a theme...
Problem/Motivation#1825952: Turn on twig autoescape by default introduced autoescape and with it a mechanism to mark strings as safe. This works great as long as render arrays are used or only t()...
View ArticleRefactor file.inc to make it simpler and prevent PDO exceptions
Problem/MotivationThere is a unique constraint on the uri column in {file_managed}. When inserting a new row it is only checked that the URI is unique on the filesystem, but not in the database. If the...
View ArticleMove route access checking code from \Drupal\Core\Access to...
#2095125: Use access constants in every access control context started using \Drupal\Core\Access for generic access checking code only. Let's move the routing-specific code to the correct place in this...
View ArticleUse proper machine names for permissions
Problem/MotivationDrupal currently uses permission with machine names like access all views, and this is inconsistent with machine names found elsewhere in Drupal (where the convention is...
View Article