Closed Bug 540320 Opened 11 years ago Closed 11 years ago

XML/HTML entities missing in Tb UI, breaks about:credits, probably other things


(Thunderbird :: Build Config, defect)

Windows 7
Not set


(blocking-thunderbird3.1 beta1+, thunderbird3.1 beta1-fixed)

Thunderbird 3.1b1
Tracking Status
blocking-thunderbird3.1 --- beta1+
thunderbird3.1 --- beta1-fixed


(Reporter: nONoNonO, Assigned: philor)



(Keywords: regression)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2pre) Gecko/20100117 Lanikai/3.1a1pre

1. Start Lanikai
2. Go to menu Help | About
3. Go to about:credits

Error: undefined entity
Source file: jar:file:///C:/Program%20Files/Mozilla/Thunderbird%203.1/chrome/messenger.jar!/content/messenger/credits.xhtml
Line: 165, Column: 42
Source code:
        <h2 class="title">&brandFullName;&trade;

&trade; is undefined
WFM on

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2pre) Gecko/20100117 Lanikai/3.1a1pre
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2pre) Gecko/20100117 Lanikai/3.1a1pre
Onno did you install using the zip file ?
No, I installed using the installer thunderbird-3.1a1pre.en-US.win32.installer.exe
I get the same error message in 3.2a1pre...
Also error in about:rights

XML Parsing Error: undefined entity
Location: jar:file:///C:/Program%20Files/Mozilla/Thunderbird%203.2/chrome/messenger.jar!/content/messenger/aboutRights.xhtml
Line Number 14, Column 10:


Windows XP SP3
Thanks to philor and Standard8, we figured out what's going on here.  To wit:

<dmose> Standard8: what did we decide about the output of package-compare for 3.1a1?  that your belief was that it was in reasonable shape for all platforms?
<philor> we might have decided that someone needed to grab a non-Mac build and make sure that the directories without a * were getting packaged, somewhere down around res/...
<philor> crap, which they are not, build1 doesn't have res/dtd/, res/entityTables/ or res/fonts/

According to Standard8, that means that this set of files will be missing:


My understanding is that people who install over an existing installation on Windows will not see this bug, but people who install in a new directory and that Mac is not affected (not sure about Linux).  This means that at least all users of Lanakai Alpha 1 on Windows will see this problem.
blocking-thunderbird3.1: --- → rc1+
Ever confirmed: true
Keywords: regression
OS: All → Windows 7
This bug means that anything that uses entities from those files will also fail with a yellow window or iframe.  So far, I haven't been able to make the global search summary page fail or the multi-message summary.  philor says that the crash reporter dialog doesn't fail.  Loading the start page while offline works, as does loading not-downloaded-newsgroup articles.

Things that haven't yet been tested include installing an extension, and loading the what's new page or some other live web content (eg trying to load the gCal extension) while offline.  Even if these things do fail in that way, I'm still not thinking we should hold Alpha1 for them.

It's possible, however, that there are other failure modes of this bug that should block Alpha1.
blocking-thunderbird3.1: rc1+ → beta1+
Summary: about:credits gives an xml parsing error → XML/HTML entities missing in Tb UI, including at least about:credits
philor also says:

I suspect that any extension with an & or < in the summary will break any part of the addon mgr it gets into, like if you have one already installed the whole thing will be broken.

I still believe that we could get away with relnoting, even if that's true, but I'm open to other opinions.
Assignee: nobody → philringnalda
Assignee: philringnalda → nobody
Component: General → Build Config
QA Contact: general → build-config
Note that the "I" in the second paragraph in comment 8 refers to dmose, while the one in the first paragraph refers to philor.
Assignee: nobody → philringnalda
Summary: XML/HTML entities missing in Tb UI, including at least about:credits → XML/HTML entities missing in Tb UI, breaks about:credits, probably other things
Pushed, which fixes this, but leaving open while Standard8 and I think about whether we want to just stop using wildcards for directories, trading the risk of things like this for the certainty that we won't ship newly added files, but in exchange will have a package-compare that actually lists what we aren't shipping.
Though actually, that would fit better in bug 543248 if we wanted to do it, which we probably don't.
Flags: in-testsuite-
Target Milestone: --- → Thunderbird 3.1b1
Closed: 11 years ago
Resolution: --- → FIXED
Phil: what platforms does packager fail to package directories on? Do we have a bug on file for that?
Windows-only, Linux and Mac were fine with res/dtd/, and unless one one of us spots it as being something obvious, the bug on it is "rewrite in Python."
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.