Closed Bug 1615124 Opened 4 years ago Closed 4 years ago

undefined entity in messenger.xhtml Line Number 906, Column 3 <key id="openLightningKey" from lightning.dtd lightning.keys.event.showCalendar.key

Categories

(Calendar :: Build Config, defect)

Desktop
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 75.0

People

(Reporter: BenB, Assigned: pmorris)

References

(Regression)

Details

(Whiteboard: [Fixed by bug 1612190])

Reproduction:

  1. Linux
  2. Build Thunderbird trunk 2020-02-12 with clobber
  3. mach run

Actual result:

$ ../mach run
XML Parsing Error: undefined entity
Location: chrome://messenger/content/messenger.xhtml
Line Number 906, Column 3:  <key id="openLightningKey"

This comes from calendar/lightning/content/calendar-keys.inc.xhtml:

  <key id="openLightningKey"
       key="&lightning.keys.event.showCalendar.key;"
       modifiers="accel, shift"
       command="new_calendar_tab"/>

The entity is defined in calendar/locales/en-US/chrome/lightning/lightning.dtd:
<!ENTITY lightning.keys.event.showCalendar.key "C">

but apparently it's not referenced as DTD or cannot be loaded. Maybe missing from jar or something like that. I don't know, I haven't looked closely.

Expected result:

  • Builds and starts

Importance:

  • I cannot test my own code changes -> blocks development -> Blocker (by definition)

Regressed by:

  • Integration of Lightning into Thunderbird

This appears to be the first Lightning DTD entity used in Thunderbird, so it appears the Lightning locale doesn't build or load at all. Not specific to this entity.

I've tested this with a clobber build (I've done 2 clobber builds, to be sure) and a fresh profile (1. mach run and 2. with a manually created new profile started with -no-remote -P).

I found the reason: I did not have ac_add_options --enable-calendar in my .mozconfig. I didn't have it before, and according to Paul's posting on maildev, I thought that I must remove it now (but I didn't have it anyway). I needed to add it (which triggers yet another clobber), then Thunderbird builds and runs. It seems it's currently required to exist, and will soon be required to not exist.

Can you please just land bug 1612190? By landing bug 1608610 without bug 1612190, you broke the normal Thunderbird build :-( .

Assignee: geoff → paul
Depends on: 1612190
Regressed by: 1608610

Confirmed that the patch in bug 1612190 fixes this.

Fixed by bug 1612190.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: [Fixed by bug 1612190]
Target Milestone: --- → 75
You need to log in before you can comment on or make changes to this bug.