Prevent deletion of Personal/Collected AB. Can now delete,not recreated.

VERIFIED FIXED in M18

Status

SeaMonkey
MailNews: Address Book & Contacts
P1
normal
VERIFIED FIXED
18 years ago
13 years ago

People

(Reporter: laurel, Assigned: gayatrib)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nsbeta3+])

(Reporter)

Description

18 years ago
Using july26 commercial build

If you delete (by accident, of course!) the collected addresses AB, it will not
be recreated even after exit.  You're left with the pref(s) enabled, and no
appropriate messages incoming/outgoing will be collected, no new AB recreated. 
Even if you add a new address book called Collected Addresses, nothing is ever
put there when prefs are enabled. 

1.  Launch to mail window, login to mail account. 
2.  Open Address Book window, check to make sure there is a collected addresses
address book present. Close the address book window.
3.  Edit|Prefs|Mail and Newsgroups|Addressing... enable email address collection
pref and enable to collect from incoming and outgoing messages (this is all
enabled by default).
4.  Read and/or send a message, go to Collected Addresses AB and make sure the
collection does take place. It does.
5.  Delete the Collected Addresses AB (I did this accidentally by trying to
delete the cards within the AB and wiped the actual collected AB out in the
process.)
6.  Close AB window.
7.  Read and/or send a message, check to see if there was any collection.  Note
there is no recreated Collected Addresses AB.
8.  Exit Netscape and relaunch. Check AB window, note there is still no
Collected AB. (At this point I tried toggling prefs off/okaying/enabled them
again. Thought there might be a check for a Collected AB when enabling prefs.
Not so, still no collected AB.)
9.  Add a new address book and name it Collected Addresses. Prefs are still
enabled.
10. Read and/or send a message and check to see if collection took place. Nope.
11. Exit, relaunch and read or send another message, check for collection. Nope.

Result:  If you've wiped out the collected address book, it doesn't get
recreated and you can't get collection to take place again even if you add a new
collected addressbook.

Expected:  I expect it to be recreated, particularly if the prefs are enabled.
(Reporter)

Updated

18 years ago
QA Contact: lchiang → esther

Comment 1

18 years ago
As per spec, both default AB's (Personal AB and Collected AB) _cannot_ be 
deleted.
(Reporter)

Comment 2

18 years ago
Oops, I didn't check the spec.  Thanks, Suresh.
(Reporter)

Comment 3

18 years ago
I looked, but didn't see any existing bug about preventing deletion of the
Personal and Collected Address Books.  I also checked nbaca's AB window ui bugs,
but didn't find it.

So I'm changing the summary to this bug...
Summary: Collected AB not recreated if deleted, doesn't collect if you add a new one. → Prevent deletion of Personal/Collected AB. Can now delete,not recreated.

Comment 4

18 years ago
nominating for nsbeta3.
Keywords: nsbeta3
Target Milestone: --- → M18
(Reporter)

Updated

18 years ago
Keywords: relnote2

Updated

18 years ago
Keywords: mail3

Comment 5

18 years ago
+ per mail triage
Whiteboard: [nsbeta3+]

Comment 6

18 years ago
per mail triage, all "mail3" bugs to P1.
Priority: P3 → P1

Comment 7

18 years ago
reassigning to gayatrib
Assignee: putterman → gayatrib
(Assignee)

Comment 8

18 years ago
I was looking thru this bug and found another interesting observation. I'm not
sure if it is already known.

Go thru steps 1-4 in the biug report. Then instead of deleting the Collected
Addresses AB, delete all the entries in it.

Then you will notice that you can never get to add entries to it again until
youclick on a new/unread message. After you click on a new/unread message,
entries start getting added to it as per the expected nehaviour--i.e. when you
read/send a mail also.

Probably this behaviour should also be fixed..?
Status: NEW → ASSIGNED

Comment 9

18 years ago
gayatrib, that behaviour is addressed in 47932.
(Assignee)

Comment 10

18 years ago
I have the fix in hand--if it is ok that the app has to be restarted to see the 
collected/personal address books after they are once deleted.

Actually even if the app is not restarted, the entries get added into 
collectedAddresses, but it does not show up in the address book until the app is 
restarted.

I will try to explore further and see why it does not get shown until the app is 
restarted--but please let me know thoughts on how it is this way.
(Assignee)

Comment 11

18 years ago
Adding putterman to cc list.
(Assignee)

Comment 12

18 years ago
ooops--did not add him. Adding him now.

Comment 13

18 years ago
I think we should prevent the deletion of the Personal Address Book and the 
Collected Address Book. They can just delete the entries if they want to make 
them smaller.
(Assignee)

Comment 14

18 years ago
fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 15

18 years ago
Using build 2000-09-06 on win98, mac and linux this is fixed.  Verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.