Bug 358512 - false importing of mail - kmail2 akonadi bug
Summary: false importing of mail - kmail2 akonadi bug
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.3
Platform: FreeBSD Ports FreeBSD
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 01:04 UTC by Andrew
Modified: 2022-11-18 05:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2016-01-25 01:04:51 UTC
Kmail2 gives a false report that it has finished importing mail.
** Other unexplained bug reports about mail disappearing could be related to this systemic bug.
  The illusion is that Kmail2 has imported your mail into your mail directory, when it has in fact moved it to the akonadi database which may or may not succeed in exporting your mail or some of your mail to your mail diretory over the next few hours or days.   The result is that people can & do lose some or all of their mail if either the process or the database are disrupted before the slow process is finished.

Reproducible: Always

Steps to Reproduce:
1. Have over 1 gb email in a non-kmal folder or mbox
2. import the import mail

Actual Results:  
Kmail2 import functions move your email onto the akonadi database instead of your mail directory. Also as Kmail2 puts your email in jeopardy on the akonadi database, the import dialogue tells the user/victim that 100% of the mail has been imported and that the importing is finished. For hours or years afterwards your system becomes unresponsive and clogged up with unexplained akonadi activity while your email remains in jeopardy and will disappear if either the process or database are disrupted.

Expected Results:  
Kmail2 imports email to your mail directory.
If importing mail requires a temporary staging area, that it would use /tmp and NOT a database!

This appears to be another example of children wanting to use databases for things that should not be on a database. Its arogance to assume previous programers decided against using databases because they failed to understand how fast databases can be; with experience you too may learn that things like configuration & storage files should be kept on disc and not in a database that is open. It's been going on since the 1980s, people design good systems and then next generation of programers foul it up with inappropriate databases. Databases are great in their place and a menace outside it.
Comment 1 Justin Zobel 2022-10-19 22:11:00 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-03 05:07:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-18 05:17:28 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!