Bug 2636 - Deleting [dup?] account created junk account
Summary: Deleting [dup?] account created junk account
Status: RESOLVED WORKSFORME
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.8.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-03-24 16:29 UTC by Pierre Fortin
Modified: 2013-08-26 09:29 UTC (History)
0 users

See Also:


Attachments
Accounts panel after duplicate deleted. (76.56 KB, image/png)
2012-03-24 16:29 UTC, Pierre Fortin
no flags Details
Deleted duplicate account and this one appeared. (41.35 KB, image/png)
2012-03-24 16:30 UTC, Pierre Fortin
no flags Details
accountrc after account deletion & before shutting down CM (4.37 KB, text/plain)
2012-03-24 16:35 UTC, Pierre Fortin
no flags Details
accountrc after CM shut down (2.20 KB, text/plain)
2012-03-24 16:36 UTC, Pierre Fortin
no flags Details

Description Pierre Fortin 2012-03-24 16:29:01 UTC
Created attachment 1094 [details]
Accounts panel after duplicate deleted.

Manually verified some gmail accounts and found one with old messages which had never been collected.  Thinking I'd forgotten to create an account in CM, I copied an existing gmail account and made the appropriate changes.

Then, I did some testing to ensure I could use multiple clients (incl. new Android phone) on gmail accounts -- discovered the need to use "recent:userid@gmail.com" format to allow multiple clients...  Went back into CM accounts and made change. Then I noticed I'd just created a duplicate account, so I deleted the older one.

From the entrails, it appears that when a duplicate account is created (fresh, without realizing one already exists) in CM, two instances of the account ([Account: N] -- same N) are entered into accountrc.  When one of these accounts is deleted (older one in my case), CM created a trash account.
Comment 1 Pierre Fortin 2012-03-24 16:30:44 UTC
Created attachment 1095 [details]
Deleted duplicate account and this one appeared.
Comment 2 Paul 2012-03-24 16:34:15 UTC
What sort of account, imap or pop?
How did you copy this account?
Comment 3 Pierre Fortin 2012-03-24 16:35:58 UTC
Created attachment 1096 [details]
accountrc after account deletion & before shutting down CM
Comment 4 Pierre Fortin 2012-03-24 16:36:58 UTC
Created attachment 1097 [details]
accountrc after CM shut down
Comment 5 Pierre Fortin 2012-03-24 18:24:13 UTC
Almost missed your questions...  I was still entering attachments... :)

> What sort of account, imap or pop?
All my accounts are pop

>How did you copy this account?
Highlighted account, clicked Copy.
Changed account name (without realizing the same name already existed (off-screen)) and adjusted userid/passwd.  Added default inbox, and saved.

A few minutes later, I noticed the duplicate at or near bottom of accounts -- I can't recall if the deleted account was last or 2nd-last; but the junk account was now last.

When I created the new, accidentally duplicate account, did CM write out accountrc at that point?  That would explain why there were 2 account #20 in accountrc -- thinking CM only writes some (all?) .claws-mail files on close?
Comment 6 Paul 2013-08-26 09:29:50 UTC
i think this was fixed long ago but never closed here.

Note You need to log in before you can comment on or make changes to this bug.