Closed
Bug 134994
Opened 24 years ago
Closed 24 years ago
Replication keeps going into my personal address book
Categories
(MailNews Core :: LDAP Integration, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: mscott, Assigned: rdayal)
Details
(Keywords: dataloss, Whiteboard: [adt2])
Attachments
(1 file)
|
3.28 KB,
patch
|
Details | Diff | Splinter Review |
I have a test LDAP server in my profile called seamonkey.mcom.com. Every time i
try to replicate it, it ends up dumping a bunch of replicated entries into my
PAB. If I replicate again, my PAB gets yet another set of the same entries
dumped into it. So after every replication it grows by n where n is the # of
entries in the directory.
| Reporter | ||
Comment 1•24 years ago
|
||
Using a win32 release build: 2002032803
Assignee: srilatha → dmose
Keywords: nsbeta1
| Reporter | ||
Comment 2•24 years ago
|
||
Here are my prefs:
user_pref("ldap_2.servers.pab.filename", "abook.mab");
user_pref("ldap_2.servers.pab.replication.lastChangeNumber", 0);
user_pref("ldap_2.servers.seamonkey.description", "seamonkey");
user_pref("ldap_2.servers.seamonkey.filename", "abook.mab");
user_pref("ldap_2.servers.seamonkey.replication.lastChangeNumber", 0);
user_pref("ldap_2.servers.seamonkey.uri",
"ldap://seamonkey.mcom.com:389/o=mcom.com??sub?(objectclass=*)");
Seth says Rajiv checked in a fix for something similar to this. Is my build from
the 28th too old?
Comment 3•24 years ago
|
||
re-assign to rdayal.
I can reproduce this as well.
There is code in there to prevent this scenario, but it doesn't seem to be
working.
Assignee: dmose → rdayal
Priority: -- → P1
Target Milestone: --- → mozilla1.0
Comment 4•24 years ago
|
||
even worse:
if you replicate again, I think you will lose your addresses in your pab.
replication does a "clean slate" on the .mab it uses, right Rajiv?
Keywords: dataloss
Comment 5•24 years ago
|
||
I saw the same problem with 04-02 build. Rajiv is looking into it.
| Reporter | ||
Comment 6•24 years ago
|
||
Yulian, did you intend to remove the mozilla 1.0 milestone, the P1 priority and
the dataloss keyword or was it just a merge conflict?
Updated•24 years ago
|
| Assignee | ||
Comment 7•24 years ago
|
||
the replication code calls nsDirPrefs to set the new server filename but it
seems it is not doing so, it does not use the leafName parameter passed to it
and generates a new filename only in case the DirSever::filename is null. Also
it is replicating and adding to the same replication file rather than clean
slate and then replicate since the CreateUnique creates a zero byte size file
and thus MoveTo fails.
Please find below the patch to fix the problems seen here.
| Assignee | ||
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
marking fixed. the fix for this landed with #128087
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•24 years ago
|
||
Verified with 20020411 branch builds on various platforms.
Status: RESOLVED → VERIFIED
Updated•23 years ago
|
Keywords: verified1.0.0
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•