Update guzzlehttp/guzzle to the latest stable release
Follow up to #2400407: [meta] Ensure vendor (PHP) libraries are on latest stable release.Use composer to update guzzlehttp/guzzle library to version 6.0.0.
View ArticleBoolean field with 'Use field label instead of the "On value"...
Problem/Motivation1. Create a FieldAPI field on an entity, and select the option "Use field label instead of the "On value" as label" 2. Create a view of this entity type 3. Add the boolean field as a...
View ArticleCan't add multiple content types to shortcuts
<code>The user is unable to add multiple content types to the shortcut bar by clicking the "add shortcut" star icon. This can be worked around by adding the shortcut manually via "Edit...
View ArticleConvert shortcut block to view
Sub issue of #1823450: [Meta] Convert core listings to ViewsProblem/MotivationShortcut block can be converted to view.Beta phase evaluation This is appropriate for 8.0.x.Reference:...
View ArticleConvert the comments administration screen to a view
Updated #204Problem/MotivationPart of #1823450: [Meta] Convert core listings to Views. This also helps solve problems for #1978904: Convert comment_admin() to a Controller and #1946348: Convert all of...
View ArticleContentEntityBase::__clone breaks field reference to parent entity
Just a quick summery. If a new node translation is added via UI, callbacks on fields like preSave() reference to an "unusable" entity when they call $this->getEntity(). This only happens on the...
View ArticleDatabase::tableExists optimization for PostgreSQL
Database::tableExists appears to be called repeatedly during normal use of a Drupal site. In PostgreSQL, this is implemented by querying the information_schema.tables view, which in our PostgreSQL 9.2...
View ArticleAllow to use a different extension then html.twig, like xml.twig
Problem/MotivationThe system is not bound to HTML but is rather generic enough to also support XML. views-rss.html.twig is such an example. As you see there, its not HTML so views-rss.xml.twig would be...
View Article#access should support access result objects or better has to always use it
Problem/MotivationIf you think about any kind of complex rendering you'll realize that access checking is important. Inside that access checking we have to ensure that the access result metadata is...
View ArticleSkip module_invoke/module_hook in calling hook_watchdog (excessive...
Motivation: speed up watchdog callswatchdog uses module_implements, which is totally cached and knows that module_hook exists. module_invoke goes and calls module_hook which does another...
View ArticleSQLite Insert query does not account for INSERT FROM ... SELECT.
SQLite Insert query does not account for INSERT FROM ... SELECT.The driver-specific optimization for DEFAULT VALUES incorrectly kicks-in, because $this->insertFields is empty.SolutionUpdate the...
View ArticleUse isset with multiple parameters where possible
Problem/MotivationPHP isset allows the use of multiple parameters to be passed in a single isset call. Instead of doing a multiple consequetive isset($a) && isset($b) calls, we can do isset($a,...
View ArticleSpecific preprocess functions for theme hook suggestions are not invoked
General summaryThis is not considered a beta blocker or critical issue for D8.While patches exist in this thread for D7 (and may work for you), official fix will be to D8 first -- please do not switch...
View ArticleForward-port the Field UI portion of SA-CORE-2015-002
Problem/MotivationThe Field UI module uses a "destinations" query string parameter in URLs to redirect users to new destinations after completing an action on a few administration pages. Under certain...
View ArticleKernelTestBaseNG™
MissionRun all functional integration tests via PHPUnit.Convert KernelTestBase into a PHPUnit test base class.Add a second Kernel test suite, separate from the Unit test suite.WhyDrupal should not be...
View Articlecreate a phpstorage backend that works with a local disk but coordinates...
Drupal 8's service container cache does no checking for a stale container.if it exists, and the mtime-hash matching is ok, it is loaded.thus, any Drupal event that should lead to a new container must...
View Articleform_select_options() is a theme function in disguise and should not use...
Problem/Motivationform_select_options() is a recursive markup generating function. It uses SafeMarkup::set() to get around the fact that what it's doing is not very fun.Commit credit: also add cilefen,...
View ArticleChainedFastBackend should have a centralized invalidation service
Problem/MotivationChild issue of #2497243: Rebuilding service container results in endless stampede.The chained fast cache backend currently invalidates caches using the cache itself. This means if...
View ArticleFix documentation in password hashing class
Problem/MotivationWhile #1845004: Replace custom password hashing library with PHP 5.5 password_hash() is postponed, at least fix the numerous documentation code style problems in...
View Article