array_flip(): Can only flip STRING and INTEGER values! in...
When I create a new node with moderation content drupal gives me this warning:Drupal\Core\Entity\EntityStorageException: Warning: array_flip(): Can only flip STRING and INTEGER values! in...
View ArticlePrompt users when adding new requirements with scaffolded assets
Problem/MotivationBy default, the drupal/scaffold plugin will not scaffold files from a dependency unless it is whitelisted in the top-level composer.json file. This is done to avoid unexpected...
View ArticleAssert the current path on Views AJAX requests is not set with two leading...
In the AJAX request, Views passes the current path (retrieved in views_views_pre_render()) in the page request as the view_path parameter – for example, /admin/content. As nearly everywhere in Drupal...
View ArticleCall to a member function getConfigDependencyKey() on null in...
To replicate,* create users view * add roles filter (exposed) with only "Select all" value selected in Options field. * Export view to module/profile and reinstall website.The following error would...
View ArticleProposal: decouple ImageStyle into a config entity and an image derivative...
Problem/MotivationThe ImageStyle class is a config entity that besides doing the config entity, also has methods that do process images into derivatives.This is probably the result of the migration of...
View ArticleViewExecutableTest uses a mocked argument callback wrongly (and fails in...
Found in #3063887: Support PHPUnit 8 optionally in Drupal 8, while keeping support for ^6.5 and ^7.Problem/MotivationViewExecutableTest has mock expectation fails in PHPUnit8 due to callback return...
View ArticleExpectDeprecationTrait is not compatible with PHPUnit 8
Problem/MotivationDiscovered in #3063887: Support PHPUnit 8 optionally in Drupal 8, while keeping support for ^6.5 and ^7.Drupal\Tests\Traits\ExpectDeprecationTrait implements protected function...
View ArticleDrupal\migrate_drupal\Tests\StubTestTrait is not compatible with PHPUnit 8
Problem/MotivationDiscovered in #3063887: Support PHPUnit 8 optionally in Drupal 8, while keeping support for ^6.5 and ^7.Drupal\migrate_drupal\Tests\StubTestTrait implements protected function...
View ArticleDecouple responsive_image theme from image styles
Problem/MotivationIn some use cases, it would be really interesting to build a responsive image render array without having to rely on image styles. Some eaxmples:on a project where we need to provide...
View ArticleSupport PHPUnit 8 optionally in Drupal 8, while keeping support for ^6.5 and ^7
Problem/MotivationSimilarly to #2950132: Support PHPUnit 7 optionally in Drupal 8, while keeping support for ^6.5, this issue is about enabling testing with PHPUnit 8 in Drupal 8.PHPUnit 6 is out of...
View ArticleMigrateExecutableMemoryExceededTest has mismatched argument type mock...
Found in #3063887: Support PHPUnit 8 optionally in Drupal 8, while keeping support for ^6.5 and ^7.Problem/MotivationMigrateExecutableMemoryExceededTest has mock expectation fails in PHPUnit8 due to...
View ArticleImprove installer performance by ~20% by rebuilding the router after the...
Drupal rebuilds the router on each module installation. This is useful when adding modules once Drupal has been installed.However, it is causing a lot of CPU cycles when Drupal is installing and the...
View ArticleTypeError: Argument 1 passed to _editor_get_file_uuids_by_field() must...
user edit page: when add a custom field named person, when I save my user information, it reports this error like below:[Mon May 21 01:21:49.224782 2018] [:error] [pid 15769] [client 172.17.0.1:48758]...
View ArticlePrimary Drop Button style update
Problem/MotivationThe default Dropdown button is being implemented on #3023243: Drop Buttons style update. This issue is a follow-up to get the primary one addressed. At the moment this is not being...
View ArticleThe 'M' of Machine name overlaps with the green border around text...
Steps: 1) Navigate to Structure> Taxonomy> Add Vocabulary 2) Observe the screenshotExpected: Proper spacing is required between the text box and the text Actual: The 'M' of 'Machine name'...
View ArticleSeparate UI strings touching each other
Problem/MotivationSteps to reproduce the problem:Enable the tracker (human-readable name Activity Tracker) module of Drupal core. It requires no further configuration.Create a piece of content, for...
View ArticleBaseFieldOverride fails to take into account...
Postponed on #2283977: Create a new ConfigEntity type for storing bundle-specific customizations of base fields, which is introducing the BaseFieldOverride class described in this...
View ArticleAllow multiple vocabularies in the taxonomy filter
Problem/MotivationField UI allows you to select multiple target bundles for a field. When you get to the views UI though you can select just a single vocabulary. For some usecases this is a...
View ArticleHAL normalization of file fields don't provide file entity id or file...
Problem/MotivationWhen using the hal_json format with an entity that has a file field the hal_json output on GET does not provide enough information to access the file entity via the REST API.I...
View ArticleOverride Views Template in a Module
In D8, is it still possible to override a Views template in a module? If so, how? In D7, I used hook_views_api() to register a 'template path' so that Views could discover appropriately named...
View Article