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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #2 from David Edmundson <k...@davidedmundson.co.uk> ---
ForwardingSlaveBase also had some changes :/

What's happening is we're doing a copy (already a bit weird, as our KIO
supports renaming) and somehow the source URL is getting lost.

We then come to delete the directory and try deleting QUrl()

18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::statCurrentSrc fast
path! found info about QUrl("desktop:/foo") in KCoreDirLister
18:16:04.228 KIO::CopyJobPrivate::sourceStated sources stated
QUrl("desktop:/foo") "/home/david/Desktop//foo" true
18:16:04.228 KIO::CopyJobPrivate::sourceStated srcurl is now 
QUrl("desktop:/foo")
18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::addCopyInfoFromUDSEntry
fileName= "foo" url= QUrl("")
18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::addCopyInfoFromUDSEntry
uSource= QUrl("") uDest(1)= QUrl("file:///home/david/Desktop/ppp")
18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::addCopyInfoFromUDSEntry
 uDest(2)= QUrl("file:///home/david/Desktop/ppp")
18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::addCopyInfoFromUDSEntry
  QUrl("") -> QUrl("file:///home/david/Desktop/ppp")
18:16:04.228 kf5.kio.core.copyjob: KIO::CopyJobPrivate::sourceStated Source is
a directory


On that last line the first QUrl() is the source. This is the directly we
delete after the copy finishes, and unsurprisingly that fails.

18:02:48.275 kf5.kio.core:
KIO::SimpleJobPrivate::simpleJobInit|KIO::SimpleJob::SimpleJob|?libKF5KIOCore.so.5?
Invalid URL: QUrl("")

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

Reply via email to