[GeneralDiscussion] applied to unstable: fix a unicode-related issue properties form breakage

[email protected] (zwiki-repo)
Newsgroups gmane.comp.web.zope.zwiki
Message-ID <20080430205614.AB1FB465D85__30889.8738273003$1209589101$gmane$org@mail.joyful.com>
Wed Apr 30 13:56:10 PDT 2008  Simon Michael <[email protected]>
  * fix a unicode-related issue properties form breakage
diff -rN -u old-ZWiki-unstable/plugins/tracker/tracker.py new-ZWiki-unstable/plugins/tracker/tracker.py
--- old-ZWiki-unstable/plugins/tracker/tracker.py	2008-04-30 13:56:14.000000000 -0700
+++ new-ZWiki-unstable/plugins/tracker/tracker.py	2008-04-30 13:56:14.000000000 -0700
@@ -434,7 +434,7 @@
         Add an issue property form above the rendered page text.
         """
         REQUEST = getattr(self,'REQUEST',None)
-        return self.stxToHtml(self,self.issuepropertiesform(REQUEST=REQUEST)) + body
+        return self.stxToHtml(self,self.issuepropertiesform(REQUEST=REQUEST)) + self.tounicode(body)
             
     security.declareProtected(Permissions.View, 'issueColour')
     def issueColour(self):

--
forwarded from http://zwiki.org/GeneralDiscussion#[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.