Error: Call to undefined method Drupal\Core\Entity\ContentEntityType::getLowercaseLabel() in Drupal\salesforce_mapping\Plugin\Validation\Constraint\UniqueFieldsConstraintValidator->validate() (line 44 of /code/web/modules/contrib/salesforce/modules/salesforce_mapping/src/Plugin/Validation/Constraint/UniqueFieldsConstraintValidator.php)

This patch fixes use of a deprecated function as suggested at https://www.drupal.org/node/3075567

Issue fork salesforce-3217061

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

jdleonard created an issue. See original summary.

jdleonard’s picture

Assigned: jdleonard » Unassigned
Status: Active » Needs review
jdleonard’s picture

Issue summary: View changes
jdleonard’s picture

Status: Needs review » Needs work
jdleonard’s picture

Status: Needs work » Needs review
aaronbauman’s picture

Version: 5.0.0-alpha2 » 5.0.x-dev
Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs backport to D8

Thanks for the patch.
I'll get this in ASAP

  • AaronBauman committed 597e55b on 5.0.x authored by jdleonard
    Issue #3217061 by jdleonard: Call to undefined method ContentEntityType...

  • AaronBauman committed d958774 on 8.x-4.x authored by jdleonard
    Issue #3217061 by jdleonard: Call to undefined method ContentEntityType...
aaronbauman’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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