[Akonadi] [Bug 456923] Outgoing e-mail from GMail account to smtp.gmail.com sometimes hangs

Fabian Vogt bugzilla_noreply at kde.org
Thu Dec 1 12:25:08 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=456923

Fabian Vogt <fabian at ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |libkgapi/commit/d677a08c21f |kmailtransport/commit/7b2a5
                   |d99e7e8be0a0899f797f9237207 |ccea0c54b81245acdbbea77a13e
                   |e4                          |570bba2b

--- Comment #5 from Fabian Vogt <fabian at ritter-vogt.de> ---
Git commit 7b2a5ccea0c54b81245acdbbea77a13e570bba2b by Fabian Vogt.
Committed on 01/12/2022 at 12:12.
Pushed by fvogt into branch 'release/22.12'.

SmtpJob: Fix use of KCompositeJob

SmtpJob overrides slotResult, but this had two issues. First, it connected
to LoginJob::result itself, though addJob already does that. Second, in two
cases it did not remove finished jobs from the list of subjobs, leading to
dangling pointers and messing up state. This was most likely only reached
in the case of an expired XOAUTH2 access_token and caused the job to fail
after a successful refresh.
Related: bug 406839, bug 409122, bug 421664

M  +2    -2    src/kmailtransport/plugins/smtp/smtpjob.cpp

https://invent.kde.org/pim/kmailtransport/commit/7b2a5ccea0c54b81245acdbbea77a13e570bba2b

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list