Workflow Emails Everyone Since Upgrade to 5.2.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • khopper
    commented on 's reply
    Added on Row 180 of Helper.php

    public function getUsersEmailAddress(array $userList)
    {
    if (count($userList) == 0) return [];
    return $this->getEmailAddressesForEntity('User', $userList);
    }

  • tanya
    replied
    We reproduce this. While we looking for a reason, please modify the file application/Espo/Modules/Advanced/Core/Workflow/Helper.php
    getUsersEmailAddress method
    before "return" insert the row
    if (count($userList) == 0) return [];

    Leave a comment:


  • khopper
    replied
    No, I did not change the method, the Account only had the assigned user as the follower with 1 other person.
    But for some reason emailed everyone and I don't know why.
    All I did was upgrade from 5.2.4 to version 5.2.5

    Leave a comment:


  • tanya
    replied
    https://github.com/espocrm/espocrm/b...ream.php#L1024
    did you change this method?
    How many followers does your entity have indeed?

    Leave a comment:


  • khopper
    started a topic Workflow Emails Everyone Since Upgrade to 5.2.5

    Workflow Emails Everyone Since Upgrade to 5.2.5

    Workflow Emails Everyone Since Upgrade to 5.2.5
    Can't figure out why....

    Attached Files
Working...