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

--- Comment #1 from Oded Arbel <o...@geek.co.il> ---
(In reply to Oded Arbel from comment #0)
> Which means that `KInotify::moved` is emitted for both directories and
> files, but `FileWatch::slotFileMoved` expects only files and enforces that
> with an assert.

Lookgin deeper into `FileWatch::slotFileMoved`, it does expect to handle
directories in some cases, but for calls that are forwarded to
`MetadataMover::moveFileMetadata()` - it doesn't care.
`MetadataMover::moveFileMetadata()` itself doesn't seem to care either, but it
calls `MetadataMover::updateMetadata()` that will crash on paths that end with
'/'.

Maybe the correct approach would be to have `MetadataMover::updateMetadata()`
silently ignore paths that end with '/'?

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

Reply via email to