Fix problems Vendor Hardening Plugin has with using the File Security component
Problem/MotivationWhile working toward #2982680: Add composer-ready project templates to Drupal core., we discovered that the Vendor Hardening Plugin sometimes fails to work, throwing an error:Fatal...
View Article[meta] How to deprecate Simpletest with minimal disruption
Problem/MotivationSimpletest is one of the biggest deprecations in Drupal 8 and one of the least trivial to update for.Also, when porting modules to Drupal 9, if a module has simpletests, they're one...
View ArticleProfile provided configuration entities can have unmeetable dependencies
This blocks #2571235: [regression] Roles should depend on objects that are building the granted permissions and hence at least a major because it is blocking a critical.Problem/MotivationProfiles can...
View ArticleAdd bundle css class to custom block types
Problem/MotivationFor themers it is really important to distinguish the different block types.Proposed resolutionAdd a css class to blocks, which indicates which type is used. For example: If you have...
View ArticleHardcoded result size limit in the entity reference autocomplete widget.
Problem/MotivationThe EntityReferenceAutocompleteWidget will always return a maximum of 10 results, which is caused by the call $entity_labels = $handler->getReferenceableEntities($string,...
View Article[policy, no patch] Update Drupal's browser support policy
Problem/Motivationhttps://www.drupal.org/docs/8/system-requirements/browser-requirements lists some extremely outdated browsers, such as Firefox 5 and Safari 5. It's unlikely that any core developers...
View ArticleTerm references should be incorporated into D6 node migration
Problem/MotivationRight now, the relationships between taxonomy terms and nodes are migrated in their own migrations - the d6_term_node and d6_term_node_revision templates are instantiated once for...
View ArticleRename maintenance-page template into page--maintenance + install-page into...
Problem/MotivationFollowup from #2218039: Render the maintenance/install page like any other HTML page.Bring file name patterns in line with core standards.Address theme suggestions as well, for...
View ArticleMove user cancellation functions to a service
The following functions should be moved to a service so they may be injected, improve test coverage, provide opportunities to override, among all the other benefits of moving code to a...
View ArticleImplement a generic revision access API
Problem/MotivationAt present we don't have a generic entity API for determining revision support for operations such as:viewdeletereverteditNode module defines the following permissions:delete all...
View ArticleCrawl errors in forum page because of feed url
In forum module, Drupal generates the feed url automatically, that is excellent. But the issue is, the feed url generated doesn't contain the facing slash (at the start of the url), because of this,...
View ArticleDrupal 8 updating issue -...
After updading a Drupal site from 8.6.16 to 8.7.1 (PostgreSQL 9.6.13 , Nginx) I get this error in almost every operation (creating a view , installing a module, importing feeds, ....) with diferent...
View Article{{ item.attributes }} is not used when label is hidden and its a single item
Problem/MotivationWhen there is only one item in the field, and the label is hidden the item.attributes is not used. If we want to add attributes from hook_preprocess_HOOK() we need to handle both...
View ArticleErrors after upgrading from 8.6.16 to 8.7.3
ProblemAfter upgrading a site from Drupal Core 8.6.16 to 8.7.3 using composer, when taking the repo and reinstalling the Drupal installation, these errors are thrown:TypeError: Argument 2 passed to...
View ArticleMove settings.php to /settings directory, fold sites.php into settings.php
ProblemThe new directory layout in D8 hides most parts of the advanced multi-site feature from users that don't need it, which is a good thing:Top-level /modules, /themes, and /profiles directories can...
View ArticleEntity Field Query throws QueryException when querying all revisions and...
Problem/MotivationWhen using Entity Field Query to query a revisionable entity and calling:$query->allRevisions() If you set a condition on an entity reference where the target entity type DOES NOT...
View ArticleConfiguration names should always start with extension name
Problem/MotivationThe article (1) https://www.drupal.org/docs/develop/coding-standards/configuration-file-... says in the section "Simple configuration" the following: "Usually, the choice of name is...
View ArticleFrequent random fail in...
Problem/MotivationSeen two different version of it probably around 5 times over the weekend:https://www.drupal.org/pift-ci-job/1294225https://www.drupal.org/pift-ci-job/12933781)...
View ArticleRefactor TestDatabase to be testable
Problem/MotivationIn #3074043: Move simpletest.module DB-related functions to TestDatabase, deprecate we're trying to deprecate top-level simpletest module functions by moving them to...
View ArticleAfter removing a field form a layout a fatal error is produced in the...
Problem/MotivationThis is a rare issue but it causes a lot of confusion to site builders.Steps to reproduce:You need a multi-language site.Use layout builder to define a layout.Render any field, for...
View Article