Closed
Bug 82791
Opened 24 years ago
Closed 23 years ago
group list should be imported (Outlook and Outlook Express)
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: fenella, Assigned: cavin)
References
Details
(Whiteboard: [ADT NEED INFO] nab-imp,imp-failure)
Attachments
(2 files)
11.03 KB,
patch
|
bugzilla
:
review+
asa
:
approval+
|
Details | Diff | Splinter Review |
1017 bytes,
patch
|
bugzilla
:
review+
sspitzer
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Win32 (2001-05-24-06 trunk)
1. In Outlook Express, create an address book that contains a group list
2. From Seamonkey, do a File|Import
3. Select Outlook Express
4. Check Address Book from Outlook Express
Actual result: Group list has not been imported
Expected result: Group list should be imported too.
Also,
The business section:
work address, city, state, zip code and country are not imported.
Comment 2•23 years ago
|
||
Branch build 2001-09-14: WinMe
Still a problem, marking nsbranch because I would assume this is important to
Enterprise?
Keywords: nsbranch
Comment 3•23 years ago
|
||
I would not hold the release for this. Minusing. triaging for the next release.
Comment 6•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Updated•23 years ago
|
Updated•23 years ago
|
Whiteboard: nab-imp
Updated•23 years ago
|
Whiteboard: nab-imp → nab-imp,imp-failure
Updated•23 years ago
|
Summary: Outlook Express group list should be imported → roup list should be imported (Outlook and Outlook Express)
Updated•23 years ago
|
Status: NEW → ASSIGNED
Summary: roup list should be imported (Outlook and Outlook Express) → group list should be imported (Outlook and Outlook Express)
Target Milestone: mozilla1.0.1 → mozilla1.0
Comment 7•23 years ago
|
||
ADT needs more info, does this still happen?
Whiteboard: nab-imp,imp-failure → [ADT NEED INFO] nab-imp,imp-failure
Assignee | ||
Comment 8•23 years ago
|
||
Yes it does because this has never been supported (ie, no code to do list import).
Assignee | ||
Comment 9•23 years ago
|
||
Allows OE and Outlook lists/groups to be imported and fixes the problem of not
showing summary info at the end of import. Members of lists are not imported
due to not being able to retrieve the member values.
Updated•23 years ago
|
Attachment #75457 -
Flags: review+
Comment 10•23 years ago
|
||
Comment on attachment 75457 [details] [diff] [review]
Proposed patch, v1
+ nsIStringBundle *pBundle = nsOEStringBundle::GetStringBundleProxy();
...[snap]...
+ NS_IF_RELEASE( pBundle);
Appart that, R=ducarroz
Comment 11•23 years ago
|
||
three comments, address these and then sr=sspitzer
1)
+ nsIMdbRow* newRow = nsnull;
+ rv = m_database->GetNewListRow(&newRow);
+ NS_ENSURE_SUCCESS(rv, rv);
are you leaking newRow?
Use a nsCOMPtr, like this:
nsCOMPtr <nsIMdbRow> newRow;
rv = m_database->GetNewListRow(getter_AddRefs(newRow));
2)
+ nsString name;
+ if (SUCCEEDED(hr))
+ {
+ PRUnichar * pName;
+ if (NS_SUCCEEDED( source->GetPreferredName( &pName)))
+ {
+ name = pName;
+ nsCRT::free( pName);
+ }
+ ReportSuccess( name, &success);
you can use an nsXPIDLString here, to avoid the free.
3)
+ nsIMdbRow* newRow = nsnull;
+ rv = pDb->GetNewListRow(&newRow);
+ NS_ENSURE_SUCCESS(rv, rv);
are you leaking newRow?
Use a nsCOMPtr, like this:
nsCOMPtr <nsIMdbRow> newRow;
rv = pDb->GetNewListRow(getter_AddRefs(newRow));
Assignee | ||
Comment 12•23 years ago
|
||
Ok, I'll do that before checking in the patch.
Comment 13•23 years ago
|
||
Cavin writes "i got the code from some eudora import..."
I saw that there was similar code in nsTextAddress::AddLdifRowToDatabase, too.
If you determine we are leaking, can you fix the other instance as well?
Comment 14•23 years ago
|
||
another alternative for
+ nsString name;
+ if (SUCCEEDED(hr))
+ {
+ PRUnichar * pName;
+ if (NS_SUCCEEDED( source->GetPreferredName( &pName)))
+ {
+ name = pName;
+ nsCRT::free( pName);
+ }
+ ReportSuccess( name, &success);
is something like:
+ nsString name;
+ PRUnichar * pName;
+ if (NS_SUCCEEDED(source->GetPreferredName( &pName))) {
+ name.Adopt(pName);
+ }
Assignee | ||
Comment 15•23 years ago
|
||
> I saw that there was similar code in nsTextAddress::AddLdifRowToDatabase, too.
> If you determine we are leaking, can you fix the other instance as well?
>
OK, I'll do that before checking it in.
Comment 16•23 years ago
|
||
Comment on attachment 75457 [details] [diff] [review]
Proposed patch, v1
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #75457 -
Flags: approval+
Assignee | ||
Comment 17•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 18•23 years ago
|
||
Trunk build 2002-03-26: WinMe
Reopen.
- Import Outlook Express fails. I should see 2 groups and 5 contacts but I only
see 1 group and 1 member. I noticed that the group that was imported is the
first group listed in OE. Also the contact that is imported is the first contact
listed in OE.
- Import Outlook: ok.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 19•23 years ago
|
||
Comment 20•23 years ago
|
||
Comment on attachment 76431 [details] [diff] [review]
Change return value type to nsresult to make while loop works correctly
sr=sspitzer
Attachment #76431 -
Flags: superreview+
Comment 21•23 years ago
|
||
Comment on attachment 76431 [details] [diff] [review]
Change return value type to nsresult to make while loop works correctly
R=ducarroz
Attachment #76431 -
Flags: review+
Comment 22•23 years ago
|
||
Comment on attachment 76431 [details] [diff] [review]
Change return value type to nsresult to make while loop works correctly
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #76431 -
Flags: approval+
Assignee | ||
Comment 23•23 years ago
|
||
Fix checked in.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 24•23 years ago
|
||
Trunk build 2002-04-01: WinMe
Verified Fixed.
- All cards and their content are imported
- The names of the lists are present but not the content as described in
Comment#9.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•