Closed Bug 130403 Opened 22 years ago Closed 22 years ago

No default Address Book set to "Add to:" in New card from "Select Addresses" dlg

Categories

(MailNews Core :: LDAP Integration, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: yulian, Assigned: srilatha)

References

Details

(Keywords: regression, Whiteboard: [adt3 RTM] [ETA 06/21])

Attachments

(1 file)

20020312 trunk build on Win2K.


In "Select Addresses" dlg, clicking "New..." button to open New Card dlg, no
default Personal Address Book is set to "Add to:". The New Card dlg launching from
Address Book window has Personal Address Book set to "Add to:". Better to have
default Personal Address Book for user to add to.
The same situation can be observed with Build ID 2002052006 on Win98. But I
didn't have those problems with Linux Mozilla 1.0 RC2 Build - Personal
AddressBook is selected as default (when New Card is launched from "Select
Addresses" window.)
Branch and Trunk builds on 2002-05-22: WinMe
With only a Personal Address Book and Collected Address Book present this
appears to be working for me. Yulian, is this a general problem or specific to LDAP?
20020523 Branch build on Win2K

Ran into the same problem.
1. New Compose window
2. Click on Addresses Toolbar
3. Select Addresses dlg appears
4. Click on New button on the left bottom
5. New Card dlg appears 
6. Personal Address Book or Collected Address Book doesn't present for "Add To:"
in  the dropdown box
It looks like as we got some regression here.
I can now repeat this bug on Linux too - with Mozilla 1.1 (2002061108) when
1.0RC2 on Linux was working OK.
Taking this after talking to Shuehan
Assignee: shliang → srilatha
nominating since its a regression
Keywords: nsbeta1, regression
This is happening because of the following js error
JavaScript error:
 line 0: uncaught exception: [Exception... "Component returned failure code: 
0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002 
(NS_NOINTERFACE)"  location: "JS frame :: 
chrome://messenger/content/addressbook/abCommon.js :: GetDirectoryFromURI :: 
line 882"  data: no]
Attached patch proposed patchSplinter Review
We are getting the js error because there is no selected addressbook. The fix
is to make personal addressbook as selected addressbook when we do not have a
selected addressbook.
Comment on attachment 88493 [details] [diff] [review]
proposed patch

sr=bienvenu
Attachment #88493 - Flags: superreview+
Comment on attachment 88493 [details] [diff] [review]
proposed patch

r=varada
Attachment #88493 - Flags: review+
plussing the nsbeta1 nomination so this can get on the adt radar. If we can get
this checked into the trunk today and verified in tomorrows bits we can try to
get this into the branch tomorrow. 
Fix checked into the trunk
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
adt1.0.1+ (on adt's behalf) approval for checkin to the 1.0 branch, pending
drivers approval. pls checkin this in asap, the add the "fixed1.0.1" keyword.
Blocks: 143047
Keywords: adt1.0.0adt1.0.1+, approval
Whiteboard: [adt3 RTM] [ETA 06/21]
Target Milestone: --- → mozilla1.0.1
Attachment #88493 - Flags: approval+
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+"
keyword and add the "fixed1.0.1" keyword.
Verified with 20020621 trunk build on Win2K.
Status: RESOLVED → VERIFIED
Fix checked into the branch
Verified with branch builds on various platforms.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: