Closed Bug 561663 Opened 14 years ago Closed 14 years ago

Help is broken: undefined entity &printCmd.commandkey;

Categories

(SeaMonkey :: Help Documentation, defect)

defect
Not set
major

Tracking

(blocking-seamonkey2.1 a1+)

RESOLVED FIXED
seamonkey2.1a1
Tracking Status
blocking-seamonkey2.1 --- a1+

People

(Reporter: InvisibleSmiley, Assigned: Callek)

References

Details

(Keywords: regression, Whiteboard: [fixed by bug 516758])

With a current trunk nightly, F1 greets me with:

XML Parsing Error: undefined entity
Location: chrome://help/content/help.xul
Line Number 64, Column 5:
    <key id="printKb" key="&printCmd.commandkey;" oncommand="print();"
----^

This is on WinXP and SM started in Safe Mode but I guess that doesn't matter much.

help.xul is actually mozilla/toolkit/components/help/content/help.xul.

Setting regressionwindow-wanted.
Flags: blocking-seamonkey2.1a1?
stefanh just noted this on IRC, he said that the .dtd is missing from the .jar file - I suspect some toolkit change causes us to have a jar.mn packaging issue.
This works in the 2010-03-31-00 build and does not work in the 2010-04-01-00 build. Strongest candidate is bug 516758.
(In reply to comment #2)
> This works in the 2010-03-31-00 build and does not work in the 2010-04-01-00
> build. Strongest candidate is bug 516758.

Agreed, left a comment there.
Adding the following back in locally seems to fix the issue for me:

@@ -6552,16 +6552,31 @@ else
     if test "x$ac_cv_sqlite_enable_fts3" = "xno"; then
         AC_MSG_ERROR([System SQLite library is not compiled with SQLITE_ENABLE
_FTS3.])
     fi
 fi
 
 AC_SUBST(MOZ_NATIVE_SQLITE)
 
 dnl ========================================================
+dnl = Enable help viewer (off by default)
+dnl ========================================================
+MOZ_ARG_ENABLE_BOOL(help-viewer,
+[  --enable-help-viewer        Enable help viewer],
+    MOZ_HELP_VIEWER=1,
+    MOZ_HELP_VIEWER= )
+if test -n "$MOZ_HELP_VIEWER"; then
+     AC_DEFINE(MOZ_HELP_VIEWER)
+fi
+AC_SUBST(MOZ_HELP_VIEWER)
+if test "$MOZ_BUILD_APP" = "browser" -a -n "$MOZ_HELP_VIEWER"; then
+    AC_MSG_ERROR([Cannot build Firefox with --enable-help-viewer.])
+fi
+
+dnl ========================================================
 dnl = Enable safe browsing (anti-phishing)
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(safe-browsing,
 [  --enable-safe-browsing        Enable safe browsing (anti-phishing) implemen
tation],
     MOZ_SAFE_BROWSING=1,
     MOZ_SAFE_BROWSING= )
 if test -n "$MOZ_SAFE_BROWSING"; then
     AC_DEFINE(MOZ_SAFE_BROWSING)
Flags: blocking-seamonkey2.1a1? → blocking-seamonkey2.1a1+
Blocks: 516758
Keywords: regression
blocking-seamonkey2.1: --- → a1+
Flags: blocking-seamonkey2.1a1+
Fixed by http://hg.mozilla.org/mozilla-central/rev/cedd9976e7e0
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
Assignee: nobody → bugspam.Callek
Flags: in-testsuite-
Whiteboard: [fixed by bug 516758]
You need to log in before you can comment on or make changes to this bug.