Code

Fix incorrect setting of template in customizing.txt example action
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 4 Nov 2010 22:52:56 +0000 (22:52 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 4 Nov 2010 22:52:56 +0000 (22:52 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4573 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
doc/customizing.txt

index 37d98928d8e1526940b7669e3e58aa69017d82c7..b65c84180cfcfd20dca36c03430cda608829f58a 100644 (file)
@@ -27,6 +27,9 @@ Fixed:
   from other transactions) see new ConcurrentDBTest for a
   read-modify-update cycle that fails with the old caching behavior.
   (Ralf Schlatterbeck)
+- Fix incorrect setting of template in customizing.txt example action,
+  patch via issue2550682 (thanks John Kristensen)
+
 
 2010-10-08 1.4.16 (r4541)
 
index 13dbb9b164cc35bf563acc798dea99d20b13aed4..58a8ec342f7376b324258a16f8179177a49e79aa 100644 (file)
@@ -4869,10 +4869,10 @@ Setting up a "wizard" (or "druid") for controlled adding of issues
             '''
             category = self.form['category'].value
             if category == '-1':
-                self.error_message.append('You must select a category of report')
+                self.client.error_message.append('You must select a category of report')
                 return
             # everything's ok, move on to the next page
-            self.template = 'add_page2'
+            self.client.template = 'add_page2'
 
     def init(instance):
         instance.registerAction('page1_submit', Page1SubmitAction)