salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.55k stars 2.1k forks source link

Discarding draft email during reply/forward deletes original email #4234

Open ghost opened 7 years ago

ghost commented 7 years ago

Issue

When composing a draft email for reply or forward of an archived email, then clicking the "Disregard Draft" button, the original email is deleted.

Expected Behavior

The draft should be discarded and the user redirected back to the original email view.

Actual Behavior

The draft is discarded, the original email status is changed to 'draft' and deleted then the user is redirected to the Email module listing.

Steps to Reproduce

  1. Create an archived email through the through API (or the Outlook Addin) attached to an account
  2. Locate the email on the account and select either reply or forward from the actions
  3. Click the 'Disregard Draft' button and confirm.

Your Environment

pgorod commented 7 years ago

I can't reproduce this in 7.9.7. Can you please test it again in this newer version?

ghost commented 7 years ago

Sorry for delay. Just tried it on 7.9.7 and issue is still present.