-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtensionSettings - order of force_installed extensions #705
Comments
I'm seeing this error: https://releases.mozilla.org/pub/firefox/releases/78.3.1esr/linux-x86_64/xpi/de.xpi had unexpected id (got [email protected] expected [email protected]) The ESR doesn't use a different langpack ID, it should be [email protected]. It should have installed the ones after, though. I'll check that. |
Thank you. I will change the langpack ID. I cannot remember how I obtained the ID in the first place. |
Oddly, I'm seeing all three extensions installed in both cases. |
Maybe I should do some further testing. Any hints on how I can help you? The langpack ID error was not shown in |
Once you fix the ID, do they all install? Can you check the JS Console and see if there are any errors? |
It does work with the fixed ID. I'm getting an error |
That error is definitely unrelated (shouldn't break anything). If you could try the first one that fails and see if anything comes up on the JS console, that would be great. |
Ok, here are some new findings: If I delete the The [email protected] is included in the Debian package The force_installed [email protected] seems to not fully load on first start. Some texts of the UI are not translated. A second start fixes that. So I changed the ExtensionSettings to allow [email protected]. Everything is fine now besides issue #706
With "JS console" do you mean the Browser console? |
So it looks like Debian is improperly renaming the language packs. I just checked our official language packs and they are definitely [email protected] So if you are installing a language pack from AMO, it should not have the -esr. I have no explanation why using the language pack from AMO isn't working on Debian. I'm checking into this. As far as that error goes, that theoretically shouldn't happen, but I'm going to add a check just in case. |
So interesting issue. Only debian has the -esr on language packs that come from debian. So because you're installing language packs from AMO, you should NOT have the -esr on the end. Those are not the IDs when the lang packs come from AMO. If your URLs were pointing to XPIs on Debian servers, you would use the different ID. |
So it was a Debian related issue in combination with a wrong langpack ID on my part. It did some final tests. Here are my conclusions. 1. Behavior with force_installed langpack and wrong ID
2. Behavior with force_installed langpack and correct ID
3. Behavior with allowed Debian langpack
4. Behavior with everything blocked
|
So for me the issue is resolved. |
It's historical going back to the days of IceWeasel and they don't want to risk moving them back (just talked to the maintainer) FYI I did put in a bug fix based on the behavior you were seeing (the Js error). Thanks for reporting that. |
Problem
I had an unexpected behavior with force_installed extensions. It should have installed several extensions but only the first two entries were actually installed. This did work in ESR 68 with the
Extensions
policy. In ESR 78 withExtensionSettings
the behavior appeared the first time for me.The
policies.json
looked like this:I changed the order and put the languages pack to last place in the list. Now all extensions get installed as expected.
System
The text was updated successfully, but these errors were encountered: