Closed Bug 223560 Opened 21 years ago Closed 21 years ago

clean up the ldap server migration code

Categories

(MailNews Core :: Profile Migration, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mscott, Assigned: Bienvenu)

References

Details

Attachments

(4 files, 1 obsolete file)

clean up the ldap server migration code

right now, I think we try to migrate from the pref UI and the compose window.

we should move the migration code to messenger migrator, and call it on normal
profile migration.

we could continue to call this code from the compose window or from the ab UI
(for profiles already migrated from earlier versions) by using a "have we
migrated the ldap settings" pref and check it from within the messenger migrator
service.

code clean up / future.
taking, I have a fix.
Assignee: sspitzer → bienvenu
Attached patch proposed fix (obsolete) — Splinter Review
Attachment #134061 - Attachment is obsolete: true
adding to the tracking list
Blocks: 222652
Comment on attachment 134063 [details] [diff] [review]
whoops, forgot the makefile change

I'd like to check this into 1.6a, so it will make tbird .4
Attachment #134063 - Flags: superreview?(mscott)
Attachment #134063 - Flags: review?(sspitzer)
Attachment #134063 - Flags: superreview?(mscott) → superreview+
fix checked in, r/a=sspitzer over aim
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment on attachment 134063 [details] [diff] [review]
whoops, forgot the makefile change

>Index: base/src/nsMessengerMigrator.cpp

This change broke building with --disable-ldap .
sorry about that - this should fix that. I'll check it in once I get approval.
Comment on attachment 134250 [details] [diff] [review]
fix building with disable ldap

r/sr/a=sspitzer for 1.6a
Attachment #134250 - Flags: superreview+
Attachment #134250 - Flags: review+
Attachment #134250 - Flags: approval1.6a+
this bug fix broke ldap for me. Try to add a new ldap directory via prefs. Note
the JS errors about QueryInterace failing. We don't list the ldap server in the
prefs panel.

Bring up a compose window and note the JS error about QueryInterface failing. 

Patch coming up. 

*** Bug 224407 has been marked as a duplicate of this bug. ***
these are from a cvs m2 tbird enterprise branch - these fix it so that ldap
servers are migrated correctly w/o a relaunch, and work correctly. This also
fixes  local folder migration so that the folders show up w/o a relaunch as
well.
Comment on attachment 135207 [details] [diff] [review]
more fixes for migration

plussing for the trunk if this fix isn't in the trunk already.
Attachment #135207 - Flags: superreview+
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: