[Mpuls-commits] r5435 - base/trunk/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Oct 8 02:02:52 CEST 2011


Author: ludwig
Date: 2011-10-08 02:02:51 +0200 (Sat, 08 Oct 2011)
New Revision: 5435

Modified:
   base/trunk/mpulsweb/lib/navigation.py
Log:
Issue1377: Fix of the empty repeatgroup case problem.


Modified: base/trunk/mpulsweb/lib/navigation.py
===================================================================
--- base/trunk/mpulsweb/lib/navigation.py	2011-10-07 19:50:24 UTC (rev 5434)
+++ base/trunk/mpulsweb/lib/navigation.py	2011-10-08 00:02:51 UTC (rev 5435)
@@ -319,6 +319,9 @@
             if isinstance(nc, RepeatInstanceContainerNode):
                 log.debug('Found repeatgroup container: %s', nc.getIdentifier())
                 n.repeat = True
+                if self.prev:
+                    self.prev.next = n
+                self.prev = n
 
             for child in nc.getChildren():
                 c = self.build(child, n)



More information about the Mpuls-commits mailing list