TypeError: Argument 2 passed to...
Drupal 8.6.4, 8.6.5, Drush 9.6.0-beta4Websites with two languages.1. Enable module via drush:drush -y en devel> [notice] Проверен перевод для проекта devel.> [notice] Загружен перевод для...
View ArticleStack ajax_command_replace commands
I am wondering if it is possible to stack two `ajax_command_replace` commands. In other words, to have code that looks like this: $commands = array(); $commands[] = ajax_command_replace($selector1,...
View ArticleDrupal\Tests\system\Functional\Mail\MailTest::testCancelMessage() cleanup
Problem/MotivationDrupal\Tests\system\Functional\Mail\MailTest::testCancelMessage() requires that the simpletest module be enabled for the test to pass.The test should not depend on simpletest, since...
View ArticleAdd CacheableNormalization for Normalizer to return Normalized value and...
Problem/MotivationJSON:API recently implemented #3022584: Consolidate and simplify NormalizerValue objects: introduce CacheableNormalization. Right now, the major issue with the whole serialization...
View ArticleAllow Layout Builder live previews to be toggled to allow easier drag-and-drop
Problem/MotivationMoving a large block on a smaller screen (13') is very hard to do. (I succeeded once) See: https://www.youtube.com/watch?v=GQ_D6A3j3AsUsing latest Chrome, Standard profile, 8.6.x,...
View ArticleMultiple image upload breaks image dimensions
Problem/MotivationDisplaying images that were uploaded at the same time (selecting mulitple images) are broken. The height/width from the first image are applied to all images.WorkaroundUse Image Field...
View ArticleUse Layout Builder for the Recipe Content Type in Full View Mode
Problem/MotivationWe had to abandon some of the designs (particularly sections that were laid-out side-by-side, such as 'Recipe Ingredients' alongside 'Recipe Instructions'). The reason we had to...
View ArticleTwigExtensionTest::testFormatDate() doesn't make much sense
Problem/MotivationThat test uses its own mock date formatter (with wrong arguments), it could just as well use the actual date string that it expects. Also strange that time doesn't seem to be defined...
View ArticleUse EntityQuery and filter by moderation state
Problem/MotivationIt is not possible use Entity Query to filter nodes with content moderation module enabled.When I debug a node with this config enabled, I cant find a field with this value. $query =...
View ArticleConvert local absolute menu links to relative to enable access checking &...
ProblemAs it stands, the menu system checks all menu paths pointing to internal links (ie, node/add or user/logout) upon submission to verify: The path exists in the menu system.The user has the proper...
View ArticleSpecialized entity interfaces should extend the main EntityInterface
Problem/MotivationClasses that implement \Drupal\Core\Entity\RevisionableInterface and \Drupal\Core\Entity\TranslatableInterface are not just standalone revisionable or translatable objects, they are...
View ArticleEntityStorageException: Default revision can not be deleted in...
Problem/MotivationThis happens if you try to delete to delete the only pending revision of an entity that was created *before* enabling workflows, so the previous default revision didn't have a...
View ArticleConvert...
Follow up to \Drupal\Tests\quickedit\FunctionalJavascript\QuickEditLoadingTest::testDisplayOptions has no business being a Browser test, we need to convert it to a kernel test.Also, currently it only...
View ArticleAdd assertNoDuplicateIds to a functional test trait
follow up for #2809535: Convert AJAX part of \Drupal\system\Tests\Ajax\MultiFormTest to JavascriptTestBaseThere is a version of assertNoDuplicateIds on AssertContentTrait but this is meant for Kernel...
View ArticleAdd javascript test for NodeContextualLinksTest:: testNodeContextualLinks
Problem/Motivation#2996030: Convert web tests to browser tests for node module - round 2 might remove "test coverage" without any previous assertion:- public function testNodeContextualLinks() { -...
View ArticleAdd javascript test to supplement FormTest::testInputForgery
Created as a follow up to discussion in #2867154: Form: Convert system functional tests to phpunitFormTest::testInputForgery only tests input forgery by simulating abuser behaviour.To get better...
View ArticleThe Layout Builder block listing should be filterable
Problem/MotivationLayout Builder's block listing is not filterable, which makes it hard to quickly find the block you're looking for:Proposed resolutionWe should add a filter for the block listing...
View ArticleBatch operation fails silently if an operation callback is not found
If the callback specified for a batch operation isn't found, the batch process continues and does not show an error message. This can easily happen when developing, especially if using the 'file'...
View ArticleIncorrect blacklist condition in WorkspaceManager
The entity type blacklist of the workspaces manager is a straight list of entity types, but is checked with isset($this->blacklist[$entity_type->id()]), which never returns true.
View ArticleUse new Transliteration functionality in core for file names
Problem/MotivationOn Drupal sites where users are uploading files clean filenames are hard to achieve because Drupal accepts most filenames as valid input. However lots of Drupal installs override this...
View Article