Description

Code doesn't use the right API call for rawHTML. It used raw_html.

Should apply the following patch (patch -p1) to make it operate correctly:

diff -urN moin-1.3.5/MoinMoin/parser/xslt.py moin-1.3.5-xsltbug/MoinMoin/parser/xslt.py
--- moin-1.3.5/MoinMoin/parser/xslt.py  2005-07-25 15:32:35.000000000 +0800
+++ moin-1.3.5-xsltbug/MoinMoin/parser/xslt.py  2005-08-26 13:28:52.126522411 +0800
@@ -46,7 +46,7 @@
             # can be activated in wikiconfig.py
             from MoinMoin.parser import plain
             self.request.write(formatter.sysmsg(1) +
-                               formatter.raw_html(_('XSLT option disabled, please look at HelpOnConfiguration.')) +
+                               formatter.rawHTML(_('XSLT option disabled, please look at HelpOnConfiguration.')) +
                                formatter.sysmsg(0))
             plain.Parser(self.raw, self.request).format(formatter)
             return

Steps to reproduce

  1. It's in the code and shows up in the error log on occasion when Page does a render.

Example

Details

MoinMoin Version

1.3.5

OS and Version

Fedora Core 4

Python Version

2.4.1

Server Setup

Server Details

Workaround

It's not fatal. So, you can just bear with the errors in the log.

Discussion

The patch is correct. We fixed it some patches ago.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/XsltParserRawHtmlApi (last edited 2007-10-29 19:07:33 by localhost)