You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send an email with attachment from userA to userB.
Inspect the DB echo 'SELECT id FROM email;' | sqlite3 /tmp/email.store and note the email ids.
Inspect the DB echo 'SELECT id FROM attachment;' | sqlite3 /tmp/email.store and note the attachment ids.
Log in as userB and delete the email in the UI.
Inspect the DB echo 'SELECT email_id, attachment_id from emailattachment;' | sqlite3 /tmp/email.store and observe that:
a) The attachment was deleted.
b) The email was deleted.
c) However, a row for the deleted email and its attachment remains in the association table.
The text was updated successfully, but these errors were encountered:
Repro steps:
echo 'SELECT id FROM email;' | sqlite3 /tmp/email.store
and note the email ids.echo 'SELECT id FROM attachment;' | sqlite3 /tmp/email.store
and note the attachment ids.echo 'SELECT email_id, attachment_id from emailattachment;' | sqlite3 /tmp/email.store
and observe that:a) The attachment was deleted.
b) The email was deleted.
c) However, a row for the deleted email and its attachment remains in the association table.
The text was updated successfully, but these errors were encountered: