Problem

Git lab tests produces fails, as shown in weekly runs:

There were 6 errors:
1) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasBasicComponentConversion
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
2) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasNestedComponentConversion
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
3) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasBlockComponent
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
4) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasFormatter
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
5) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasExtJsComponentConversion
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
6) Drupal\Tests\custom_elements\Kernel\CanvasIntegrationTest::testCanvasPageEntitySupport
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "field_item:datetime" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: filter_format, layout_section, uri_template, field_item:component_tree_reference, config_entity_version_reference, config_entity_version, config_entity_version:component, computed_url_with_query_string, computed_entity_canonical_relative_url, component_inputs, uri, timestamp, timespan, string, map, language_reference, language, list, integer, float, email, duration_iso8601, decimal, datetime_iso8601, boolean, binary, any, field_item:text_with_summary, field_item:text_long, field_item:text, field_item:list_string, field_item:list_integer, field_item:list_float, field_item:image, field_item:file_uri, field_item:file, field_item:link, field_item:path, field_item:layout_section, field_item:component_tree, field_item:uuid, field_item:uri, field_item:timestamp, field_item:string_long, field_item:string, field_item:password, field_item:map, field_item:language, field_item:integer, field_item:float, field_item:entity_reference, field_item:email, field_item:decimal, field_item:created, field_item:changed, field_item:boolean, entity_reference, entity, entity:menu, entity:action, entity:user, entity:user_role, entity:field_storage_config, entity:field_config, entity:node_type, entity:node, entity:node:article, entity:filter_format, entity:editor, entity:image_style, entity:file, entity:media_type, entity:media, entity:path_alias, entity:block, entity:entity_ce_display, entity:staged_config_update, entity:pattern, entity:page_region, entity:canvas_page, entity:js_component, entity:folder, entity:content_template, entity:component, entity:asset_library, entity:base_field_override, entity:entity_view_mode, entity:entity_view_display, entity:entity_form_mode, entity:entity_form_display, entity:date_format
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:53
/builds/project/custom_elements/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php:28
/builds/project/custom_elements/web/core/lib/Drupal/Core/TypedData/TypedDataManager.php:123
/builds/project/custom_elements/web/modules/contrib/canvas/src/Utility/TypedDataHelper.php:17
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1110
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1079
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:1006
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/GeneratedFieldExplicitInputUxComponentSourceBase.php:989
/builds/project/custom_elements/web/modules/contrib/canvas/src/Plugin/Canvas/ComponentSource/SingleDirectoryComponentDiscovery.php:90
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:176
/builds/project/custom_elements/web/modules/contrib/canvas/src/ComponentSource/ComponentSourceManager.php:107
/builds/project/custom_elements/web/modules/contrib/canvas/tests/src/Traits/GenerateComponentConfigTrait.php:13
/builds/project/custom_elements/tests/src/Kernel/CanvasIntegrationTest.php:108
ERRORS!
Tests: 102, Assertions: 1908, Errors: 6, PHPUnit Deprecations: 123.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

  • fago committed 1196c490 on 3.x
    fix: #3567253 Address test fails with canvas 1.0.2
    
    By: fago
    
fago’s picture

Status: Active » Fixed

create MR with the help of AI. works good and code is fine - merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.