Closed Bug 134958 Opened 22 years ago Closed 22 years ago

Deleting a mailing list from the directory pane fails

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect, P2)

x86
Windows ME
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: nbaca, Assigned: sspitzer)

References

Details

(Keywords: regression, Whiteboard: [adt2 rtm] [fixed on trunk and branch])

Attachments

(1 file)

Trunk build 2002-04-01: WinMe

Overview: Deleting an address book when it is selected in the directory pane 
fails. After an exit/restart, it is still present.

Steps to reproduce:
1. Create a mailing list
2. Select the list in the directory pane
3. Select the Delete button and it states "Are you sure you want to delete the 
selected mailing list?", OK.

Actual Results: The list still displays in the directory pane and the results 
pane. Close/reopen AB, the lists are still present. Exit/restart, the lists are 
still present. 
Workaround: I have to select the list from the results pane, then the Delete 
works.

Expected Results: The list should be removed from the directory pane and the 
results pane immediately.
Marking nsbeta1 because this used to work and the user will expect the ability 
to delete a list from the directory pane.
Keywords: nsbeta1, regression
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Whiteboard: [adt3]
Target Milestone: --- → mozilla1.0
Blocks: 136757
Blocks: 128661
*** Bug 138093 has been marked as a duplicate of this bug. ***
taking.
Assignee: racham → sspitzer
accepting.
Status: NEW → ASSIGNED
ok, I see the problem.

we're somehow using the wrong parent when we try to delete.

so instead of using my PAB as the parent when deleting a mailing list from my 
PAB, I'm using my LDAP addressbook.

working on it...
ok, the problem is GetParentRow() in abCommon.js doesn't work right.

working on it.  good news is that this is the only code (mailing list delete) 
that uses it.
Whiteboard: [adt3] → [adt3] [fix in hand]
Comment on attachment 79849 [details] [diff] [review]
patch

sr=bienvenu
Attachment #79849 - Flags: superreview+
> good news is that this is the only code (mailing list delete)

sorry, that should read:  "good news is that this is the only code (deleting 
from the dir tree) that uses it."

this code doesn't get executed when you attempt to delete the CAB or the PAB, 
but any other directories (local, ldap or mailing lists) will execute it.
Comment on attachment 79849 [details] [diff] [review]
patch

r=hewitt
Attachment #79849 - Flags: review+
Whiteboard: [adt3] [fix in hand] → [adt3] [fix in hand, have r=, sr=, will land on trunk today]
fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Keywords: adt1.0.0
Resolution: --- → FIXED
Whiteboard: [adt3] [fix in hand, have r=, sr=, will land on trunk today] → [adt3] [fixed on trunk]
Without this patch, can you still delete a mailing list from the results pane?
> Without this patch, can you still delete a mailing list from the results pane?

yes.
marking adt1.0.0-.  There's currently a workaround for this.  Let's make sure
this gets into the next release.
Keywords: adt1.0.0adt1.0.0-
*** Bug 139336 has been marked as a duplicate of this bug. ***
putterman marked the dup adt2, so changing this from adt3 to adt2.

removing adt1.0.0- so it can be re-evaluated for the branch, if we plan on 
using that for the next mozilla release / ns beta.

I'm really confused: branch / trunk & mozilla 1.0, 1.0.1 / ns beta, etc, etc.



Keywords: adt1.0.0-adt1.0.0
Whiteboard: [adt3] [fixed on trunk] → [adt2] [fixed on trunk]
putterman says:  adt1.0.0-, won't make it for beta, but will for ns rtm.
Keywords: adt1.0.0adt1.0.0-
adding rtm.
Whiteboard: [adt2] [fixed on trunk] → [adt2 rtm] [fixed on trunk]
Keywords: adt1.0.0-adt1.0.0
Trunk build 2002-05-22: WinMe, Linux RH 7.1, Mac 10.1.3 
Verified Fixed on the trunk. 

I will check the branch once this bug is marked fixed1.0.0.
Status: RESOLVED → VERIFIED
adt1.0.1+ (on ADT's behalf) for checkin to the 1.0 branch, pending Driver's
approval.
seting TM to 1.0.1
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment on attachment 79849 [details] [diff] [review]
patch

please check into the 1.0.1 branch ASAP. once landed remove the 
mozilla1.0.1+ keyword and add the fixed1.0.1 keyword
Attachment #79849 - Flags: approval+
fixed on trunk and branch.
Whiteboard: [adt2 rtm] [fixed on trunk] → [adt2 rtm] [fixed on trunk and branch]
Branch build 2002-06-11: WinMe
verified1.0.1
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: