Seen on: Assertion failure: rc != idNone, at /opt/mozmaster/mozilla/mailnews/addrbook/src/nsDirPrefs.cpp:1484 Only occurs on Debug builds (its an assertion). The recent ldap attribute map changes have caused this to occur. When one of the prefs is changed, it fires a callback into nsDirPrefs.cpp, nsDirPrefs.cpp unfortunately hardcodes all the pref names, and therefore, rc = idNone in DIR_AtomizePrefName when it returns.
Created attachment 197474 [details] [diff] [review] a fix. Though we could really do with re-writing the function and nsDirPrefs, this patch causes the *.attrmap.* prefs to be recongnised & therefore it will no longer assert.
Comment on attachment 197474 [details] [diff] [review] a fix. r+sr=dmose
I checked this in earlier. /cvsroot/mozilla/mailnews/addrbook/src/nsDirPrefs.h,v <-- nsDirPrefs.h new revision: 1.30; previous revision: 1.29 done Checking in mailnews/addrbook/src/nsDirPrefs.cpp; /cvsroot/mozilla/mailnews/addrbook/src/nsDirPrefs.cpp,v <-- nsDirPrefs.cpp new revision: 1.99; previous revision: 1.98
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
Verified FIXED with a semi-current, debug trunk build under Windows XP. No asserts... checkout start: Fri Jan 13 23:08:33 USEST 2006 cvs checkout:
Status: RESOLVED → VERIFIED
QA Contact: stephen.donner → ldap-integration
You need to log in before you can comment on or make changes to this bug.