Review Request: Fix mixed sentences in sftp error message

Aurélien Gâteau agateau at kde.org
Thu Dec 13 13:57:46 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107700/
-----------------------------------------------------------

(Updated Dec. 13, 2012, 1:57 p.m.)


Review request for KDE Runtime and Dawit Alemayehu.


Changes
-------

A few more fixes to error() calls.


Description
-------

When sftp fails because the host key of the server has changed, it emits KIO::ERR_CONNECTION_BROKEN with a translated error message as error text. This is wrong because KIO::ERR_CONNECTION_BROKEN expect the error text to be the hostname. Attached patch fixes the call to use KIO::ERR_SLAVE_DEFINED instead. See bug report for screenshots.


This addresses bug 310645.
    http://bugs.kde.org/show_bug.cgi?id=310645


Diffs (updated)
-----

  kioslave/sftp/kio_sftp.cpp 09a98f8 

Diff: http://git.reviewboard.kde.org/r/107700/diff/


Testing
-------

Tested with Gwenview, which failed to log on sftp://localhost (now I need to figure out why :) )


Thanks,

Aurélien Gâteau

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20121213/1358a157/attachment.htm>


More information about the kde-core-devel mailing list