D17545: Do not stat move/copy job if the destination file system does not support writing
David Edmundson
noreply at phabricator.kde.org
Thu Dec 13 10:39:58 GMT 2018
davidedmundson added a comment.
> And there should be a unittest for it.
This still needs doing
INLINE COMMENTS
> copyjob.cpp:867
> + q->setError(ERR_CANNOT_WRITE);
> + q->setErrorText(m_currentDestURL.toDisplayString());
> + q->emitResult();
that's not going to be a helpful error text on it's own.
Code above calls buildErrorString
> copyjob.cpp:868-872
> + q->emitResult();
> + if (that) {
> + statNextSrc();
> + }
> + return;
emitting a result and then continuing seems questionable, you'll end up with the job emitting another result later
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D17545
To: shubham, #frameworks, dfaure
Cc: davidedmundson, ngraham, broulik, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181213/a72b9f6a/attachment.html>
More information about the Kde-frameworks-devel
mailing list