Quantcast
Channel: Issues for Drupal core
Browsing all 295769 articles
Browse latest View live

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 Article


Stack 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 Article


Drupal\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 Article

Add 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 Article

Allow 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 Article


Image may be NSFW.
Clik here to view.

Multiple 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 Article

Use 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 Article

TwigExtensionTest::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 Article


Use 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 Article


Convert 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 Article

Specialized 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 Article

EntityStorageException: 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 Article

Convert...

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 Article


Add 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 Article

Add 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 Article


Add 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article


Batch 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 Article

Incorrect 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 Article

Use 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
Browsing all 295769 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>