Skip to content

Commit e766d1e

Browse files
author
Richard Jones
committed
Oops
1 parent 556d115 commit e766d1e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

roundup/cgi_client.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.122 2002-05-22 04:12:05 richard Exp $
18+
# $Id: cgi_client.py,v 1.123 2002-05-22 05:04:13 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -582,6 +582,8 @@ def _add_assignedto_to_nosy(self, props):
582582
''' add the assignedto value from the props to the nosy list
583583
'''
584584
# get the properties definition and make some checks
585+
if not props.has_key('assignedto'):
586+
return
585587
cl = self.db.classes[self.classname]
586588
propdef = cl.getprops()
587589
if not propdef.has_key('assignedto') or not propdef.has_key('nosy'):
@@ -1395,6 +1397,12 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
13951397

13961398
#
13971399
# $Log: not supported by cvs2svn $
1400+
# Revision 1.122 2002/05/22 04:12:05 richard
1401+
# . applied patch #558876 ] cgi client customization
1402+
# ... with significant additions and modifications ;)
1403+
# - extended handling of ML assignedto to all places it's handled
1404+
# - added more NotFound info
1405+
#
13981406
# Revision 1.121 2002/05/21 06:08:10 richard
13991407
# Handle migration
14001408
#

0 commit comments

Comments
 (0)