bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

autoconfig (MCD) doesn't work anymore in thunderbird 2.0



Build Config
12 years ago
12 years ago


(Reporter: Laurent Bauvens, Assigned: Scott MacGregor)


Firefox Tracking Flags

(Not tracked)




12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070219 Firefox/
Build Identifier: Thunderbird version 2.0pre (20070312)

autoconfig works fine in 1.5.x.x versions of Thunderbird. The same configuration applied on Thunderbird 2.0 Pre doesn't do nothing.

Reproducible: Always

Steps to Reproduce:
1.configure autoconfig in all.js file
  pref("general.config.obscure_value", 0); // for MCD .cfg files
  pref(general.config.filename", "thunderbird.cfg"); // for MCD .cfg files

2.configure log environment variables

3.make a thunderbird.cfg in the application directory
//BEGIN CE Prefs
4.put a thunderbird.jsc file on the web server
5. run thunderbird 
6. close thunderbird
7. delete the thunderbird.cfg file
8. run thunderbird again

Actual Results:  
* web server and thunderbird's log files are empty.
* nothing appends
* without thunderbird.cfg file, thunderbird starts normally !
--> autoconfig doesn't work

Expected Results:  
* log files show thunderbird.jsc download
* configuration keys in the thunderbird.jsc must be included in the prefs.js file
* in case of "thunderbird.cfg" file doesn't exist, thunderbird must stop start process and display an error dialog box, and then it closes itself.

Comment 1

12 years ago
Just in case, are you sure it's not due to a typo ?.

i.e. quote missing in
  pref(general.config.filename", "thunderbird.cfg");
or missing plural in

As TB 2 autoconfig works in my setup -- had an "thunderbird.cfg" data encoding issue on Windows but NSPR log mentionned it.

Comment 2

12 years ago
I know it's working for one large site we're deployed at...I'm not sure what's going on at your site.

Comment 3

12 years ago
(In reply to comment #1)
> Just in case, are you sure it's not due to a typo ?.
> i.e. quote missing in
>   pref(general.config.filename", "thunderbird.cfg");
>        ^

You're right, I made a mistake. It works much better with this quote.
Logs are OK, thunderbird.cfg is read and thunderbird.jsc is downloaded.
all is fine.

Last Resolved: 12 years ago
Resolution: --- → FIXED

Comment 4

12 years ago
Maybe we could learn from your problem and have a better "error handling system" in MCD. I find it quite difficult to debug, as errors and warnings are often simply "muted".
FIXED is reserved for changes in the Mozilla code base; changing resolution to INVALID.
Resolution: FIXED → INVALID
You need to log in before you can comment on or make changes to this bug.