Error when opening Custom Composite Source tab

Created on 10 September 2020, over 4 years ago
Updated 2 February 2023, almost 2 years ago

Problem/Motivation

Steps to reproduce

1. create a custom composite, save it.
2. open the edit form and click to the Source tab which has URL like that: /admin/structure/webform/config/composite/{webform_composite}/source

TypeError: Argument 1 passed to Drupal\webform_composite\Form\WebformCompositeSourceForm::__construct() must be an instance of Drupal\webform_composite\Form\EntityTypeManagerInterface, instance of Drupal\Core\Entity\Query\QueryFactory given, called in /var/www/html/drupal1.localhost/modules/contrib/webform_composite/src/Form/WebformCompositeSourceForm.php on line 76 in Drupal\webform_composite\Form\WebformCompositeSourceForm->__construct() (line 63 of modules/contrib/webform_composite/src/Form/WebformCompositeSourceForm.php).

Proposed resolution

Fix dependency injection

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kaszarobert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024