Views do not add the "active" class anymore
Problem/MotivationIn Drupal 7, thanks to the implementation of l(), an "active" class was automatically added when generating node listing with views, and when the linked entity's URI was the same as...
View Article[meta] PHP (and JS) dependencies to consider decoupling or removing
Problem/MotivationWe adopted a lot of third-party PHP dependencies during Drupal 8's cycle, some of them are going better than others.There are some common issues:1. Support cycles (and PHP version...
View ArticleAdd a link to get only published entities in collections
Problem/MotivationMany times developers forget about adding the access related conditions to their queries. That leads to pages with non-available items.Proposed resolutionDetect collections for entity...
View Article[META] Update / reconsider dependencies for Drupal 9
Problem/MotivationSome dependencies need updating, some need to be reconsidered and removed or replaced.Proposed resolutionThe following are to be updated before Drupal 9.0.0 is released:#3088369:...
View ArticleDisplay Bug when using #states (Forms API) with Ajax Request
FAPI #states do not update properly after AJAX requests.Steps to reproduceTo replicate the bug, you need a content type with a field that makes an AJAX request and another field that has a state...
View ArticleUse version of guzzlehttp/guzzle ^6.5.2
Problem/MotivationBased on #3091418-25: Update composer dependencies on 9.0.x and #3091418-46: Update composer dependencies on 9.0.x we need to set a minimum version of guzzlehttp/guzzle to...
View ArticleJsonApiResource\Link should be able to capture access + cacheability
Problem/MotivationWhen customizing links for JSON:API resource objects, it's very difficult (impossible in some cases) to associate cacheability of a link when the link should not be accessible for...
View Article[plan] Update core JavaScript (and CSS) dependencies prior to 9.0.0-beta1
Problem/MotivationWe should update all of core's remaining JavaScript dependencies prior to 9.0.0-beta1, including any major version updates that may be available.Proposed resolutionHere's a table of...
View ArticleThe drupal_render() function could use a bit more protection
In drupal 7 the drupal_render() function takes a single render array argument.If a render array is not passed in warnings will be emitted.In our case the collection module it passing a render array...
View ArticleTranslations directory not autocreated
Problem/MotivationIn some situations the translations directory (where downloaded translation files get stored; e.g. sites/default/files/translations) is missing. This may happen for example in a...
View ArticleUpdate backbone.js to 1.4.0
Problem/MotivationAs part of #3094468: [plan] Update core JavaScript (and CSS) dependencies prior to 9.0.0-beta1 we need to update backbone.js Version 1.40 is available, released Feb 19, 2019...
View ArticleUse "current" in update URLs instead of CORE_COMPATIBILITY to...
Problem/MotivationBecause of #2807145: [policy, no patch] Allow contrib projects to specify multiple major core branches, Drupal 9 may need to retrieve modules that start with 8.x-. The update module...
View Articlelayout_builder_system_breadcrumb_alter doesn't check for a null route...
Problem/MotivationAfter upgrading to 8.8, our tests started throwing exceptions in various places that weren't checking if $route_match->getRouteObject() returned NULL. One of those places is in...
View ArticleView embed display filters uses wrong action if there is another display with...
Problem/MotivationEmbed displays don't have a path of their own. If it is the only display on the view, the exposed form will use the current URL, allowing you to filter an embedded view on whichever...
View ArticleCheck ownership of startpage when user is deleted
If Drupal uses a node as startpage, and an admin deletes that user (ignoring that the user has ownership of nodes) the website has no frontpage and gives an error.I suggest an extra check when a user...
View ArticleImplement auto-route generation for all core entities and convert all of the...
Follow-up to #2350503: Add route generation handlers for entitiesProblem/MotivationWe now have support for route auto-generation for entities. Let's use it for all entities.Proposed resolutionImplement...
View ArticleSearch results pages should be in the correct theme
Problem/MotivationFrom #2664830-150: Add search capability to help topics (ambermatz): It is jarring [i.e., a usability bug] to enter a help search query at admin/help in the Seven (or administrative...
View ArticleGuard against changes to Scaffold Plugin that might cause upgrade problems
Problem/MotivationUpgrading a Composer plugin can be an error-prone operation. If the Plugin class instantiates objects (or, more specifically, loads classes) in the `activate` method (or any...
View ArticleField instance: entity_type field has 32 characters lenght limit
32 symbols is not enougth for entity_type in field instance configurationIn field module schema we have 32 characters length restriction and 128 in field_sql_storage module. I understand field_name...
View ArticleProvide commands which are helpful for core development
Problem/MotivationWorking on core requires almost certainly drush or console to make it easy to reinstall the site or just install/uninstall a specific module. At the same time, it became hard to...
View Article