sobjects/notification.py
branchstable
changeset 9699 990676d3f39f
parent 9387 f31f0c8bda4f
child 9770 112c884b2d8d
--- a/sobjects/notification.py	Thu Mar 06 18:41:23 2014 +0100
+++ b/sobjects/notification.py	Tue Apr 01 13:57:25 2014 +0200
@@ -129,9 +129,10 @@
             # need a fresh stream at each iteration, reset it explicitly
             self.w = None
             try:
-                # 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: