Globalshala / Eval-Bridge-bugs

In the Repository, we will add the bugs related to eval bridge system
0 stars 1 forks source link

Email Not Received by Original Evaluator When Appid is sended back to Evaluator #203

Open Adnan-shariff opened 1 week ago

Adnan-shariff commented 1 week ago

Describe the bug: When User A, acting as the evaluator, sends an appID to User B for review, the email notification intended for User A as the original evaluator is instead received by User C. This occurs despite User A being the initiator of the process and the appID being associated with User A. when we intensionally change email_to : To user C

Scope of the bug: This issue impacts the email notification system's causing the notification to be incorrectly delivered to User C instead of User A.

Steps to reproduce: 1.change in dynamodb ApproverList#SendBackToEvaluator email_to = C = different email/user

  1. User A, as the evaluator, initiates the process by send to next level appid to User B for review.
  2. User B, after reviewing, sends backs to evaluator appid is back to User A
  3. The email notification regarding the appids status is received by User C.

Expected Behavior: User A, being the original evaluator, should receive the email notification regarding the appids status when it is sent back to evaluator

Actual Behavior:

please reach out to me to reproduce this issue

Screenshots: