[#1477 Reordering pages with non-ascii ids throws unicode error]

[email protected] (thimo) Fri, 21 Jan 2011 16:30:32 -0800
Newsgroups gmane.comp.web.zope.zwiki
Message-ID <20110121163031-0800__46530.7644023143$1295656245$gmane$org@longrun.zwiki.org>
Line 430 of file OutlineSupport.py:

::

 if child and not child in self.childrenAsList(): return

 should be changed to:

 if child and not tounicode(child) in self.childrenAsList(): return

Line 159 of file Outline.py:

::

 i = children.index(child)

 should be changed to:

 i = children.index(tounicode(child)) 

--
forwarded from http://longrun.zwiki.org/zwiki.org/1477ReorderingPagesWithNonAsciiIdsThrowsUnicodeError#[email protected]