Closed Bug 562876 Opened 14 years ago Closed 14 years ago

Addons manager rewrite removed brand.dtd reference, l10n builds still need that.

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
blocker

Tracking

()

VERIFIED FIXED
mozilla1.9.3a5

People

(Reporter: Pike, Assigned: Unfocused)

References

Details

(Whiteboard: [AddonsRewriteTestday][rewrite])

Attachments

(1 file, 1 obsolete file)

The current localizations of the addons manager code, aka, extensions.dtd reference &brandShortName; all over the place.

Now, the new strings in en-US don't anymore, thus the reference to brand.dtd was dropped, but the l10n-merged l10n files only add the new English strings, don't drop the obsolete ones.

Thus l10n builds break right now.

We should add an inclusion of brand.dtd back to extensions.xul, and file a follow up to remove it once we're not relying on l10n-merged builds anymore. Which might very well be extending into the stable release phase of this code.

The other way would be just to hardcode 
<!ENTITY brandShortName "UNUSED">
directly, might be better perf-wise.
I found this bug while trying to run one of the new l10n builds we triggered last night. We really need a working solution today. Given the problem above we should get this fixed asap.

Once this is fixed we need new l10n nightly builds (bug 562682).
Blocks: 562682
It might be good enough to just rename the entities, bug 562877. IIRC, parsing errors in un-used entities don't break. Should be tested, though. You can verify that by adding a dummy entity referencing &brandShortName; in your local build.
Whiteboard: [AddonsRewriteTestday][rewrite]
Assignee: nobody → bmcbride
Emergency bustage fix at:
https://hg.mozilla.org/mozilla-central/rev/254ea07099d2
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Works in linux-i686 eo 20100430064302:
Mozilla/5.0 (X11; U; Linux i686; eo; rv:1.9.3a5pre) Gecko/20100430 Minefield/3.7a5pre
Drats, we're having the same problem in the xbl binding, extensions.xml, http://hg.mozilla.org/mozilla-central/diff/bcd432fa0450/toolkit/mozapps/extensions/content/extensions.xml
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla1.9.3a5 → ---
It's the reason for bug 562894. Dave, could you jump in here while Blair is on his weekend?
Dave, can we please get this into the tree, so we will have working l10n builds tomorrow? Thanks.
Attachment #442784 - Flags: review?(dtownsend)
I've manually edited my extensions.xml adding the lines in the patch and bug 562894 is resolved by this editing.
In favor of the already checked-in patch on bug 562877 we have to back this out.
Status: REOPENED → ASSIGNED
Attachment #442784 - Attachment is obsolete: true
Attachment #442784 - Flags: review?(dtownsend)
Fixed by bug 562877
Whiteboard: [AddonsRewriteTestday][rewrite] → [AddonsRewriteTestday][rewrite][fixed-in-addonsmgr]
No longer blocks: 562894
Status: ASSIGNED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Whiteboard: [AddonsRewriteTestday][rewrite][fixed-in-addonsmgr] → [AddonsRewriteTestday][rewrite]
Target Milestone: --- → mozilla1.9.3a5
Verified fixed with Mozilla/5.0 (Windows; U; Windows NT 5.1; fa; rv:1.9.3a5pre) Gecko/20100517 Minefield/3.7a5pre (.NET CLR 3.5.30729)
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: