Introduce a token to get site's base URL
Problem/MotivationWe currently have a token [site:url]. The URL of the site's front page. The language prefix is added if the page is multilingual (e.g. http://www.example.com/pl).In many cases a...
View ArticleMake serial SQL types consistent
The serial database type is supposed to be automatically unsigned and not null. However, the database-specific drivers were not consistent with this and in many schema definitions, unsigned and not...
View ArticleSet samesite cookie attribute for PHP sessions (for PHP < 7.3)
Problem/MotivationDrupal 7 does not set the samesite attribute for PHP session cookies, unless on PHP 7.3 or higher. Up until recently, all major browsers treated cookies without this attribute as if...
View ArticleReplace usages of AssertLegacyTrait::assert(No)FieldById, that is deprecated
Problem/MotivationAssertLegacyTrait::assertFieldById() is deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldExists() or...
View ArticleDrupal Usability Meeting 2020-08-25
This meeting takes place every Tuesday, usually at 14:00 UTC (10:00am ET, 7:00am PT). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...
View ArticleViews doesn't parse twig when there are no tokens to replace
i have this configuration:if there are no results the view print: {{ 'News'|t }}if there are results instead it is correctly printed(this issue don't fix this problem: https://www.drupal.org/node/2610236)
View ArticleConvert assertions involving use of xpath to WebAssert, aggregator module
Problem/MotivationPOC for #3167880: [meta] Review xpath based assertions for false negatives, limited to a single module to be reviewable.Steps to reproduceProposed resolutionRemaining tasksUser...
View ArticleRevise list of blocked file extensions in .htaccess
Some rules in the .htaccess seem outdated.FilesMatch pattern to protect files and directories form direct access needs to be updated. For instance tpl(\.php)? makes no sense in Drupal 8+.Configuration...
View Article[PHP bug] Illegal length modifier specified 'f' in s[np]printf call...
Hi,I am getting a error when I am clearing a cache or opening module page it's happening on live server not in localhost Error -Fatal error: Illegal length modifier specified 'f' in s[np]printf call in...
View ArticleMake Drupal 9 installable on PHP8
Problem/MotivationThis task will try to get Drupal 9 installable on PHP8.0 alpha so we can work out issues to address.Proposed resolutionMake Drupal 9 testable on PHP 8 and PHP 7 at the same...
View ArticleNested Paragraphs create multiple drag handles
Problem/MotivationUsing nested paragraphs creates multiple drag handles. What it looks like with Paragraphs module:What it looks like with CD_Tools module "tabledrag" test page:Expected layoutActual...
View ArticleClaro's preprocessing of field multiple value form's table header...
Problem/MotivationCurrently claro_preprocess_field_multiple_value_form() assumes the table header structure created by template_preprocess_field_multiple_value_form(). But other extensions may change...
View ArticleRedesign maintenance page
Problem/MotivationRecent interviews and research exposed pain points around Drupal's admin experience of looking and feeling dated. With Claro look&feel update the Available updates page needs some...
View Article2.x filtering syntax breaks filtering by an entity reference item's...
Problem/MotivationIn preparation for adding JSON:API to Drupal core, we released the 2.x branch. In it, we tried to clean up many of JSON:API's rough edges. One of which was that while we represented...
View Article\Drupal\Component\Datetime\DateTimePlus should pass correct parameter types...
Problem/MotivationIn \Drupal\Component\Datetime\DateTimePlus::checkArray() we do if (@checkdate($array['month'], $array['day'], $array['year'])) { $valid_date = TRUE; } The $array['month'],...
View ArticleJS aggregation should account for "defer" and "async"...
Problem/MotivationHTML5 proposes/solidifies asynchronous loading of JavaScript files based on two attributes: defer and async. Drupal has supported defer since at least D6, and support for async is...
View Articlefast_404 paths should include "map" files
Problem/MotivationThe fast_404system allows a shortcut path, which is by default configured to asset extensions like txt, png, swf, etc.One case which is not covered currently is the case of source...
View Articlecomposer create-project should require PHP 7.3
Problem/MotivationIt is possible to run "composer create-project" to download a site using e.g PHP 7.2 but then only have it fail later on during the install when the codebase realizes that APIs from...
View ArticleReplace assert*() involving equality comparison operators with...
Problem/MotivationAs titleProposed resolutionRegex for searching: >assert.*\(.*( == | === | != | !== )example:- $this->assertTrue($output == $expected, new FormattableMarkup('Token recognized in...
View Article