Roundup Tracker - Issues

Issue 2550682

classification
Incorrect setting of template in customizing.txt exmaple action
Type: Severity: normal
Components: Documentation Versions: 1.4
process
Status: closed fixed
:
: richard : jerrykan, richard
Priority: : patch

Created on 2010-11-04 03:04 by jerrykan, last changed 2010-11-04 22:52 by richard.

Files
File name Uploaded Description Edit Remove
customizing.txt.patch jerrykan, 2010-11-04 03:03
customizing_v2.txt.patch jerrykan, 2010-11-04 03:12
Messages
msg4194 Author: [hidden] (jerrykan) Date: 2010-11-04 03:03
The example action showing how to set the template is incorrect. Using
"self.template = 'xxx'" will only update the action object. By instead
using "self.client.template = 'xxx'" the template is set in the client
object, which is eventually used to generate the html.
msg4195 Author: [hidden] (jerrykan) Date: 2010-11-04 03:12
Second version of the patch....

same goes for self.error_message.append(...)
msg4198 Author: [hidden] (richard) Date: 2010-11-04 22:52
Thanks, applied.
History
Date User Action Args
2010-11-04 22:52:49richardsetstatus: new -> closed
assignee: richard
resolution: fixed
messages: + msg4198
nosy: + richard
2010-11-04 03:12:09jerrykansetfiles: + customizing_v2.txt.patch
messages: + msg4195
2010-11-04 03:04:02jerrykancreate