Bug 282612

Summary: uncontrolled bunch of KMessageBox when i had a connection problem with pop3 resouces
Product: [Frameworks and Libraries] Akonadi Reporter: Aleksej <suntsu>
Component: POP3 ResourceAssignee: Thomas McGuire <mcguire>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdepim-bugs, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aleksej 2011-09-23 11:45:03 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

void POP3Resource::loginJobResult( KJob *job )
{
  if ( job->error() ) {
    kDebug() << job->error() << job->errorText();
    if ( job->error() == KIO::ERR_COULD_NOT_LOGIN && !Settings::self()->storePassword() )
        mAskAgain = true;
    const QString errorString = i18n( "Unable to login to the server %1.", Settings::self()->host() ) + '\n' + job->errorString();
    cancelSync( errorString );
    KMessageBox::sorry( 0, errorString );
  }
  else {
    advanceState( List );
  }
}
 
if i leave my computer offline for a whole night this piece of code will fuck my mind with 100000000 message boxes. How can I turn this feature off ? 


Reproducible: Always
Comment 1 Christophe Marin 2011-09-23 12:43:08 UTC

*** This bug has been marked as a duplicate of bug 243605 ***