Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,459
    • Issues 1,459
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #3467
Closed
Open
Created May 17, 2022 by César@Csar

Drupal8/9 Sync email own user from Civi

Hello all,

Modifying your own email from civi does not modify it in drupal, but you can modify any email of any contact and its sync fine. It works fine in D7.

Is this a good approach? Or am I missing something? I have also tested the permissions of the userprotect module.

I discussed this problem some time ago in the CiviCRM chat for Drupal 8: https://chat.civicrm.org/civicrm/pl/i6fyu7a3jpb1mfgffqcmyrxhmr

I found this validation when contact is updated and Symfony throws the error:

Your current password is missing or incorrect; it's required to change the %name.

Source: https://github.com/civicrm/civicrm-core/blob/5.45.1/CRM/Utils/System/Drupal8.php#L117

Tested in CiviCRM 5.45

Reproduction steps

  1. Edit your own email in the CiviCRM.
  2. Editing another contact's email in CiviCRM.
Edited May 19, 2022 by César
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking