Problem/Motivation

When creating a view of Contact entities, I cannot add the "User mapping" field.

I get the following error:

TypeError: Drupal\crm\Plugin\views\field\UserContactMappingField::__construct(): Argument #4 ($crm_user_contact_mapping) must be of type Drupal\crm\Entity\UserContactMappingInterface, Drupal\crm\Service\UserContactMappingService given, called in /var/www/html/web/modules/contrib/crm/src/Plugin/views/field/UserContactMappingField.php on line 64 in Drupal\crm\Plugin\views\field\UserContactMappingField->__construct() (line 48 of /var/www/html/web/modules/contrib/crm/src/Plugin/views/field/UserContactMappingField.php).

Issue fork crm-3567953

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

svendecabooter created an issue. See original summary.

svendecabooter’s picture

Status: Active » Needs review

bluegeek9 made their first commit to this issue’s fork.

bluegeek9 changed the visibility of the branch 1.0.x to hidden.

bluegeek9’s picture

Status: Needs review » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging CRM as a favorite on the project page to help others discover it and show your support.
  • Review the Developer Docs for accuracy and clarity.

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.