help.ubuntu.com bug: "Page too long" breaks "Toggle line numbers"

Andrew Sayers andrew-bugs.launchpad.net at pileofstuff.org
Fri Jan 16 00:47:49 UTC 2009


Hi all,

I've found a bug (or perhaps two) with help.ubuntu.com.  I'll file
something more formal if there's a better address to report this to and
a sandbox where I can isolate the bug.

If you go to https://help.ubuntu.com/community/VNC#Once%20mode and click
on "Toggle line numbers", it will toggle line numbers for the "page too
long" warning box at the top of the page, instead of the following code
block.  "Toggle line numbers" works correctly if you preview a version
of the page with the "page too long" warning removed.

While examining this bug, I noticed that the "page too long" macro
creates elements like this:

<div lang="en" id="<MoinMoin.request.request_fcgi.Request object at
0x202e550>" dir="ltr"><span
id="top_<MoinMoin.request.request_fcgi.Request object at 0x202e550>"
class="anchor"/>

In other words, "id" attributes are being passed objects when they
should (presumably) be passed strings.  This might be related to the
above issue, or might be completely benign.

	- Andrew




More information about the ubuntu-doc mailing list