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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
                   |eworks/kio/-/merge_requests |eworks/kio/-/commit/47fda19
                   |/1940/diffs?commit_id=0c0fd |8e4eb11cf38732c7a784a26a401
                   |62b53469010a865cf8c637ed282 |fca89a
                   |2842a246                    |
         Resolution|---                         |FIXED

--- Comment #27 from Méven <[email protected]> ---
Git commit 47fda198e4eb11cf38732c7a784a26a401fca89a by Méven Car.
Committed on 04/11/2026 at 10:50.
Pushed by meven into branch 'master'.

kcoredirlister: keep an update job on the folder it updates

Bug 507185 reports a crash in KCoreDirListerCache::slotUpdateResult()
after a login to a saved SMB share.

An update job is not connected to slotRedirection(), so the cache does
not move the folder when the job is redirected. A ListJob changes its
own url when it follows a redirection. joburl() then returned a url that
the cache does not hold, and slotUpdateResult() read the items of a null
DirItem.

The cache now stores the url of the folder for each job, and only
slotRedirection() changes it. An update that still finds no folder ends
like a failed one.

M  +71   -0    autotests/kdirlistertest.cpp
M  +1    -0    autotests/kdirlistertest.h
M  +30   -17   src/core/kcoredirlister.cpp
M  +5    -1    src/core/kcoredirlister_p.h

https://invent.kde.org/frameworks/kio/-/commit/47fda198e4eb11cf38732c7a784a26a401fca89a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to