[Mpuls-commits] r3603 - in base/trunk: . mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 13 15:19:49 CEST 2010


Author: roland
Date: 2010-09-13 15:19:47 +0200 (Mon, 13 Sep 2010)
New Revision: 3603

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/lib/renderer.py
Log:
issue1147: incorrect handling of UTF-8 strings

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-09-13 13:08:31 UTC (rev 3602)
+++ base/trunk/ChangeLog	2010-09-13 13:19:47 UTC (rev 3603)
@@ -1,3 +1,8 @@
+2010-09-13  Roland Geider <roland.geider at intevation.de>
+
+	* mpulsweb/lib/renderer.py: issue1147: incorrect handling of UTF-8
+	  encoded strings in the repeat group overview
+
 2010-09-10  Bernhard Herzog  <bh at intevation.de>
 
 	* mpulsweb/lib/config.py: Fix encoding.

Modified: base/trunk/mpulsweb/lib/renderer.py
===================================================================
--- base/trunk/mpulsweb/lib/renderer.py	2010-09-13 13:08:31 UTC (rev 3602)
+++ base/trunk/mpulsweb/lib/renderer.py	2010-09-13 13:19:47 UTC (rev 3603)
@@ -956,7 +956,7 @@
         class SortDummy:
             def __init__(self, rg, it, case_id, sort_field, fields):
                 self.rg = rg
-                self.value = str(it.getItem('%s:%s:%s'
+                self.value = unicode(it.getItem('%s:%s:%s'
                                             % (sort_field,
                                                rg.getInternalIdentifier(),
                                                case_id)).getValue())



More information about the Mpuls-commits mailing list