sobjects/notification.py
changeset 9770 112c884b2d8d
parent 9765 5607ef9ab9f5
parent 9699 990676d3f39f
child 9826 7c17659c9eae
--- a/sobjects/notification.py	Wed Apr 09 17:29:25 2014 +0200
+++ b/sobjects/notification.py	Tue Jun 10 09:49:45 2014 +0200
@@ -130,9 +130,10 @@
                     # since the same view (eg self) may be called multiple time and we
                     # need a fresh stream at each iteration, reset it explicitly
                     self.w = None
-                    # XXX call render before subject to set .row/.col attributes on the
-                    #     view
                     try:
+                        # XXX forcing the row & col here may make the content and
+                        #     subject inconsistent because subject will depend on
+                        #     self.cw_row & self.cw_col if they are set.
                         content = self.render(row=0, col=0, **kwargs)
                         subject = self.subject()
                     except SkipEmail: