Closed
Bug 249613
Opened 20 years ago
Closed 19 years ago
Deleting an address book sets a |ldap_2.servers.XYZ.position = 0| preference, instead of removing it.
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: sgautherie, Assigned: Bienvenu)
References
Details
Attachments
(1 obsolete file)
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a1) Gecko/20040520] (release) (W98SE)
This happens whether the |.position| pref. exists or not before the deletion.
The other |ldap_2.servers.XYZ.*| pref. are removed as expected.
Workaround:
Manually delete the remaining pref. (about:config or .js).
***
I guess that this is related to
{{ <http://lxr.mozilla.org/seamonkey/search?string=deleteAddressBooks>
deleteAddressBooks
/mailnews/addrbook/prefs/resources/content/pref-directory.js, line 436 --
addressbook.deleteAddressBooks(addressbookDS, parentArray, resourceArray);
/mailnews/addrbook/public/nsIAddressBook.idl, line 53 -- void
deleteAddressBooks(in nsIRDFDataSource aDS, in nsISupportsArray aParentDir, in
nsISupportsArray aResourceArray);
/mailnews/addrbook/resources/content/addressbook.js, line 565 --
top.addressbook.deleteAddressBooks(dirTree.database, parentArray, resourceArray);
/mailnews/addrbook/src/nsAddressBook.cpp, line 235 -- NS_IMETHODIMP
nsAddressBook::DeleteAddressBooks
/mailnews/extensions/palmsync/src/nsAbPalmSync.cpp, line 1024 --
return(ab->DeleteAddressBooks(ds, parentArray, selectedArray));
/mail/components/addrbook/content/addressbook.js, line 572 --
top.addressbook.deleteAddressBooks(dirTree.database, parentArray, resourceArray);
}}
but I don't see where the pref. is set :-(
CC bienvenu (based on his bug 239714 comments...)
Reporter | ||
Comment 1•20 years ago
|
||
David:
You fixed related bug 239714 today;
would you have a fix for this one too ?
Assignee | ||
Comment 2•20 years ago
|
||
this should fix it for you.
Assignee: sspitzer → bienvenu
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•20 years ago
|
||
(In reply to comment #2)
> Created an attachment (id=161303)
> proposed fix
>
> this should fix it for you.
I have no compiler, then I can't test cpp files :-|
Matthias: Could you try to compile, and possibly test, this patch ? Thanks.
(Create a local a.b., delete it, check the (remaining) prefs: do it without,
then with, the patch.)
Comment 4•20 years ago
|
||
(In reply to comment #3)
> Matthias: Could you try to compile, and possibly test, this patch ? Thanks.
> (Create a local a.b., delete it, check the (remaining) prefs: do it without,
> then with, the patch.)
After compiling with the patch the behaviour is still the same (the .position=0
remains after deleting the address book).
Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #4)
> (In reply to comment #3)
> > (Create a local a.b., delete it, check the (remaining) prefs: do it without,
> > then with, the patch.)
>
> After compiling with the patch the behaviour is still the same (the .position=0
> remains after deleting the address book).
David:
Could you have another look at this ?
Updated•20 years ago
|
Product: Browser → Seamonkey
Reporter | ||
Updated•20 years ago
|
Flags: blocking1.8a6?
Comment 6•20 years ago
|
||
David, is this something that you can look into in time for 1.8a6?
Updated•20 years ago
|
Flags: blocking1.8a6? → blocking1.8a6-
Reporter | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
> David, is this something that you can look into in time for 1.8a6?
Asa:
David doesn't seem to be much available these days ... Is there someone else who
could help ?
Updated•20 years ago
|
Target Milestone: mozilla1.8beta → ---
Updated•20 years ago
|
Flags: blocking1.8b?
Flags: blocking1.8b-
Flags: blocking1.8a6-
Comment 8•19 years ago
|
||
For anyone looking at this bug the reason it was implemented in the first case
seems to be due to bug 232429 - it's related to the palm sync code.
Reporter | ||
Comment 9•19 years ago
|
||
(In reply to comment #8)
> For anyone looking at this bug the reason it was implemented in the first case
> seems to be due to bug 232429 - it's related to the palm sync code.
David:
Should the current bug be resolved as WontFix ?
Or would there be another fix ?
Or is there a way to activate this behaviour for PalmSync users only ?
Depends on: 232429
Assignee | ||
Comment 10•19 years ago
|
||
yes, I think wontfix - I don't think it's worth inventing a new mechanism for palm sync.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Reporter | ||
Updated•19 years ago
|
Attachment #161303 -
Attachment is obsolete: true
Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Keywords: helpwanted
You need to log in
before you can comment on or make changes to this bug.
Description
•