[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_issue_edit.py:1.6
Ken Manheimer
klm@zope.com
Sun, 28 Oct 2001 23:54:10 -0500
Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv19380
Modified Files:
collector_issue_edit.py
Log Message:
Support editing of the issue's settings for the member's email and
full name.
=== CMF/CMFCollector/skins/collector/collector_issue_edit.py 1.5 => 1.6 ===
from Products.PythonScripts.standard import url_quote_plus
-reqget = context.REQUEST.get
+REQGET = context.REQUEST.get
was_security_related = context.security_related
-changed = context.edit(title=reqget('title'),
- security_related=reqget('security_related', 0),
- description=reqget('description'),
- topic=reqget('topic'),
- classification=reqget('classification'),
- importance=reqget('importance'),
- version_info=reqget('version_info'),
- comment=reqget('comment'),
- text=reqget('text'))
+changed = context.edit(title=REQGET('title'),
+ submitter_name=REQGET('submitter_name', None),
+ submitter_email=REQGET('submitter_email', None),
+ security_related=REQGET('security_related', 0),
+ description=REQGET('description'),
+ topic=REQGET('topic'),
+ classification=REQGET('classification'),
+ importance=REQGET('importance'),
+ version_info=REQGET('version_info'),
+ comment=REQGET('comment'),
+ text=REQGET('text'))
if context.security_related != was_security_related:
# We're toggling security_related - we have to do the corresponding