Using 12/29 build on Win 2000. 1. Go to the Address Book 2. Type something that will return a result in the search bar. 3. Select a result and either hit the delete key or the delete button. Nothing gets deleted. The following exception occurs: Error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIAbView.deleteSelectedCards]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: chrome://messenger/content/addressbook/abCommon.js :: AbDelete :: line 257" data: no] Source File: chrome://messenger/content/addressbook/abCommon.js Line: 257
Putting in 0.9.9 but if you can get to it earlier, go for it.
We bail in nsAbMDBDirectory::DeleteCards() because we don't handle query URIs.
working on this now, will land with some other AB bugs for early 0.9.9
updating summary. this should be for writable (non-read only) directories. read only directories (like LDAP) should have the delete button disabled. this is covered by a seperate bug.
fix in hand, it's non trivial. I'll attach a patch here, but this will be part of bug #83091
Created attachment 65937 [details] [diff] [review] working patch, but not the final one. (I want to move around some common code).
*** Bug 121045 has been marked as a duplicate of this bug. ***
*** Bug 121672 has been marked as a duplicate of this bug. ***
I'll finish up the patch and try to land it on 0.9.8
Created attachment 66467 [details] [diff] [review] better patch, but contains parts of other fixes, I'm going to sanitize it now.
Created attachment 66468 [details] [diff] [review] patch sanitized patch (doesn't contain parts of fix for #83091)
16 years ago
Comment on attachment 66468 [details] [diff] [review] patch r=bhuvan
Comment on attachment 66468 [details] [diff] [review] patch sr=mscott
a=asa (on behalf of drivers) for checkin to 0.9.8
fixed on 0.9.8 branch and the trunk.
Trunk build 2002-02-01-03: WinMe, fixed. Trunk build 2002-02-01-08: Linux RH 7.1, still a problem. Trunk build 2002-01-01-08: Mac 10.1, can't verify due to bug# 122320. Reopening.
> Trunk build 2002-02-01-08: Linux RH 7.1, still a problem. works on my debug linux mozilla build, but not on the opt linux commercial build. I'll go try debug commercial and opt mozilla, to narrow this down. ninoschka, if you have cycles, can you try mozilla builds on OS X to see if bug #122320 is both, or just ns only?
note, opt mozilla linux has the same problems, so it is looking like opt vs. debug. I'll continue to investigate.
Trunk 2002-02-14-03: WinMe, ok Trunk 2002-02-14-08: Mac 9.1, ok Trunk build 2002-01-01-08: Mac 10.1, can't verify due to basic delete not working (bug# 122320). Trunk 2002-02-14: Linux RH 7.1, can't delete a quick search result
nsbeta1- per ADT triage, ->1.2, blocks 'miracle bug' 122274
*** Bug 130499 has been marked as a duplicate of this bug. ***
*** Bug 135898 has been marked as a duplicate of this bug. ***
Okay, I just created a bug which was marked a duplicate of this bug. Why did this happen? Because "Can't delete cards from Quick Search on non-read-only AB" is a lame subject line. The word "address" or "addresses" does not appear anywhere in the subject line. I don't care what you say, but "AB" just doesn't do it for me. I wasted so much time creating duplicate bug reports because of poor subject lines.
Thanks a lot. Much better!
16 years ago
the regression caused by thes fix for this bug is covered by bug 138619 for which I've just checked in a fix.
*** Bug 122320 has been marked as a duplicate of this bug. ***
Branch build 2002-07-16: Linux RH 7.1, Mac 10.1.3 Verified Fixed.