[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_add_issue.py:1.2
Ken Manheimer
klm@zope.com
Fri, 12 Oct 2001 21:21:49 -0400
Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv9822
Modified Files:
collector_add_issue.py
Log Message:
Add file-upload provisions.
=== CMF/CMFCollector/skins/collector/collector_add_issue.py 1.1 => 1.2 ===
##title=Submit a Request
+REQUEST = context.REQUEST
+
id = context.add_issue(submitter=submitter,
email=email,
title=title,
@@ -12,7 +14,10 @@
classification=classification,
severity=severity,
reported_version=reported_version,
- other_version_info=other_version_info)
+ other_version_info=other_version_info,
+ file=REQUEST.get('file'),
+ fileid=REQUEST.get('fileid', ''),
+ filetype=REQUEST.get('filetype', 'file'))
context.REQUEST.RESPONSE.redirect("%s/%s" % (context.absolute_url(), id))