Backport DatabaseSchema_pgsql::findTables() improvements
Problem/MotivationImprove pgsql driver performance with optimizations from #2921855: Default Database Schema::findTables() is slow for PostgreSQL. See the parent issue for more details.Steps to...
View ArticleAdd methods to assert status messages to WebAssert
Problem/MotivationWhile working on #3083275: [meta] Update tests that rely on Classy to not rely on it anymore it has become clear that there are many assertions in Functionl/Functional JS tests...
View ArticleWith many languages, content_translation_page_attachments adds too many...
Problem/Motivationcontent_translation_page_attachments() adds alternate links to the html head. However these links also end up in the response headers. The large header size crashes the webserver.The...
View ArticleMost logic around project_status from update XML is not tested
Problem/Motivationworking on #3100110: Convert update_calculate_project_update_status() into a classI realized the logic in update_calculate_project_update_status() dealing with project_status from the...
View ArticleFix behaviour of entity_load when passed ids with a trailing dot
Url: "https://www.drupal.org/node/21947" - 200 response. It's ok. Url: "https://www.drupal.org/node/21947." - 200 response instead of 404Url: "https://www.drupal.org/user/443578" - 200, ok. Url:...
View ArticleExport block UUID with custom Layout Builder blocks
Problem/MotivationCurrently, if you create custom blocks inside a Layout Builder default layout, those blocks are exported with their revision_id as the key. This can lead to errors when syncing config...
View ArticleError in image_styles of image.module on database update
Error on running database update script: warning: array_merge() [function.array-merge]: Argument #1 is not an array in image_styles() (line 582 of...
View ArticlePHP8 multiple warnings in field, node modules, in common.inc file
Steps to reproduce: Run drush rr command.We saw warnings: [warning] Attempt to read property "language" on null common.inc:7950 [warning] Attempt to read property "language" on null node.module:707...
View Article[D7 PHP 8.1] strpos(): Passing null to parameter #1 ($haystack) of type...
Problem/MotivationWe are experiencing multiple deprecation warnings on PHP 8.1 in the text_summary() function:Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is...
View Article[D7 PHP 8.1] preg_split(): Passing null to parameter #2 ($subject) of type...
Problem/MotivationThere is a PHP 8.1 deprecation in _locale_parse_js_file():Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in...
View Article[D7] Field API assumes serial/integer entity IDs, but the entity system does...
Problem/MotivationEntities can be created with non numeric IDs but the field system assumes that entities have a numeric ID. Currently entities with non numeric IDs aren't fieldable.Proposed...
View ArticleUser mail token PHP notices for anonymous
Problem/MotivationSometimes you want to use the [user:mail] token in situations where you have full user accounts and anonymous user accounts. If the token is accessed for an anonymous user then a PHP...
View Articlex-content-type-options nosniff ignored for anonymous cached pages
As of Drupal 7.40 the default htaccess file has changed (#462950: Mitigate the security risks that come from IE, Chrome and other browsers trying to sniff the mime type).However, when apache does not...
View Article[meta] Priorities for 2022-06-01 release of Drupal 7
Assorted todo lists carried over from #3216978: [meta] Priorities for 2021-12-01 release of Drupal 7PHP 8.1 compatibility fixes are top priority for the next release.#3224299: [META] Make Drupal 7 core...
View ArticleWhen Url::fromEntityUri() is called without two path parts, an entity is...
Problem/MotivationSince we've been expanding the Url class, we've failed to add test coverage. There is at least one bug I can spot visually.Proposed resolutionRemaining tasksUser interface changesAPI...
View ArticleViews attachments are not rendered in the specified order
Problem/MotivationWhen a view uses multiple attachments to be displayed in the same location (e.g. all "above" or all "below"), they are added in order of their machine names, rather than the order...
View ArticleViews path with menu tab does not validate and results in fatal error
Problem/MotivationThe Views UI tells you that you can enter a path in the form of node/%/feeds, but doing so while adding a menu tab results in a Fatal error.Twig_Error_Runtime: An exception has been...
View ArticleReview Drupal\Core\Menu\StaticMenuLinkOverrides::saveOverrides for...
service ID: menu_link.static.overrides class: Drupal\Core\Menu\StaticMenuLinkOverrides method: saveOverride($id, array $definition)To make it easy to see, copy the method's code here exactly as it...
View ArticleLinks on dark backgrounds have a green and a white focus outline
When checking a few pages in the context of #3163810: [META] Assess conformance with WCAG SC 2.4.7 "Focus Visible" I've noticed when testing the Tour module on a Views edit page that there is a green...
View ArticleRemove view tab when there is not published translation
When content moderation is enabled you can create a new translation and save it directly as a draft (so there is no published version of the translation). When you do this there is a "Latest version"...
View Article