[Bug 176813] JJ Incorrect error codes in error() calls in KIO slaves lead to error message garbage

Thomas McGuire mcguire at kde.org
Fri Dec 5 15:46:10 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=176813


Thomas McGuire mcguire kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcguire at kde.org
         AssignedTo|kdepim-bugs at kde.org         |kdelibs-bugs at kde.org
          Component|imap                        |general
            Product|kio                         |kdelibs
            Summary|wrong message displayed when|JJ Incorrect error codes in
                   |the remote host is not found|error() calls in KIO slaves
                   |                            |lead to error message
                   |                            |garbage
            Version|unspecified                 |4.1




--- Comment #1 from Thomas McGuire <mcguire kde org>  2008-12-05 16:46:10 ---
This is a general KIO problem, and not slave-specific (although many slaves
have their own incorrect error messages. In particular, the host not found
message comes from TCPSlaveBase, I think.

The problem is that the slaves (and SlaveBase and TCPSlaveBase) call error()
with the incorrect error ID, which is not compatible with
KIO::buildErrorString(). See the documentation of SlaveBase::error().

This needs somebody with a bit of time on his hands to wade through all error()
calls in the slaves and in SlaveBase/TCPSlaveBase (there are many) and fix
them.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list