EntityFieldQuery uses incorrect ordered_results instead of orderedResults
The EntityFieldQuery class defines a public property called 'orderedResults', however the property is never used. Instead, a nonexistant property called 'ordered_results' is used.
View ArticleURL language detection redirects to wrong node if it has same alias
Hi folks,I faced with very strange bug. I have two enabled languages on the site: Russian (set as default) and English.I setup language detection by URL language negotiator.And set detection by domain—...
View ArticleChange "$role" parameter to "$roleId" in...
Problem/MotivationCurrently, the "Drupal\Tests\user\Traits\UserCreationTrait::grantPermissions" method, requires two parameters a RoleInterface object and an array with permission IDs. This isn't...
View ArticleStart using xxHash
Problem/MotivationPHP 8.1 adds support for xxHash - a very fast, collision-resistant, non-crytographic hash.We use a lot of hashes for non-crypto purposes, and our approach flip-flops between using...
View ArticleQueue worker media_entity_thumbnail infinite queue items for media items with...
Problem/MotivationI noticed on a project I was working on there were a large number of media items being sent to cache invalidation during every cron run. This was causing issues with a purger module...
View ArticleFix samesite attribute on Drupal.toolbar.collapsed and other similar cookies
Problem/MotivationWhen using the admin UI in D7, this warning appears in the browser console in Firefox:Cookie “Drupal.toolbar.collapsed” will be soon rejected because it has the “SameSite” attribute...
View ArticleAllow multiple recipients in email actions
Problem/MotivationIt is not possible at the moment to send an email to multiple recipients without assigning multiple actions to a trigger.Steps to reproduce1. Install the Drupal Instance 2. Enable the...
View ArticleContextual Links do not respect parameters in the destination
When using contextual links to edit an item from a paged page, the page parameter is not passed in the destination parameter. Steps to reproduce:- Navigate to a page with a pager (eg a list of news...
View ArticleNew option for Views page displays to use the admin theme
Problem/MotivationAdmin paths are defined now in route definitions (see https://www.drupal.org/node/2224207). But in Views UI, the route is build via UI and you'll need to code to mark a view route as...
View ArticleApply width and height attributes to allow responsive image tag use...
Patches to use for Drupal 9:"patches": { "drupal/core": { "Order image mappings by breakpoint ID and numeric multiplier": "https://www.drupal.org/files/issues/2022-05-19/3267870-9.5.x-47.patch", "Apply...
View Article[META] Make Drupal 7 core compatible with PHP 8.2
Problem/MotivationMake sure Drupal 7 becomes compatible with PHP 8.2 (release date 24 November 2022 - https://wiki.php.net/todo/php82). There should be quite a lot of issues related mostly to the...
View ArticleRemove IE11 hack from fieldset.css
Problem/MotivationThe following CSS hack applies to IE11 only:_:-ms-fullscreen, .fieldset { display: table; box-sizing: border-box; width: 100%; } We no longer support IE11 so we can remove this...
View ArticleMultiple ajax calls returns empty span
When using an entity reference field and multiple ajax requests are triggered (by clicking more than one buttons having ajax callback). The entity reference form ends up being empty i.e doesnot show...
View ArticleNotice: Trying to access array offset on value of type int in format_string()...
Problem/MotivationFor some menu items, they pass in numerical keys into format_string. We can't enforce an array to have string keys but we can make this function a tad more robust.Steps to...
View ArticleAllow multiple vocabularies in the taxonomy filter
Problem/MotivationField UI allows you to select multiple target bundles for a field. However, the views term filter only allows you to filter on terms from a single vocabulary.Proposed resolutionAllow...
View ArticleCacheable Ajax response
Right now AjaxResponse doesn't implement CacheableResponseInterface. And as a result we can't set cacheability metadata. Need to improve drupal and add Cacheable Ajax response class.
View ArticleStylelint tries to lint compiled CSS files
Problem/MotivationOur styleling configuration tries to lint all files matching pattern: **/*.css. This matches both, generated and ungenerated files. We shouldn't lint generated CSS files because they...
View ArticleUpdate system requirements (including INSTALL.txt) for D7
Problem/MotivationD7's INSTALL.txt still mentions PHP 5.2 and MySQL 5.0 along with several other post EOL versions.The community has been gradually updating D7's testing configuration on drupal.org in...
View ArticleEntityInterface::toLink() $text documented as string|null actually also...
Problem/MotivationEntityInterface::toLink() currently document $text as a string|null.The function actually accepts string|null|array|\Drupal\Component\Render\MarkupInterface since it uses...
View ArticleUpdate the module descriptions on the Extend page to fit the Help texts
Problem/MotivationThis is a subset of the descriptions originally included in #2570985: Update the module descriptions on the Extend page to make the review easier.The description of a module on the...
View Article