summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c6fc202)
raw | patch | inline | side by side (parent: c6fc202)
| author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
| Mon, 17 Feb 2003 01:04:31 +0000 (01:04 +0000) | ||
| committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
| Mon, 17 Feb 2003 01:04:31 +0000 (01:04 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1515 57a73879-2fb5-44c3-a270-3262357dd7e2
| roundup/cgi/client.py | patch | blob | history |
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 23edf8fdacb330c5cfbe7159b3096f5db8405fb1..75c0348f7f783ee0b901391703b647aaf8102d72 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.87 2003-02-17 00:39:28 richard Exp $
+# $Id: client.py,v 1.88 2003-02-17 01:04:31 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
See parsePropsFromForm and _editnodes for special variables
'''
# parse the props from the form
- try:
+ if 1:
+# try:
props, links = self.parsePropsFromForm()
- except (ValueError, KeyError), message:
- self.error_message.append(_('Error: ') + str(message))
- return
+# except (ValueError, KeyError), message:
+# self.error_message.append(_('Error: ') + str(message))
+# return
# handle the props
- try:
+ if 1:
+# try:
message = self._editnodes(props, links)
- except (ValueError, KeyError, IndexError), message:
- self.error_message.append(_('Error: ') + str(message))
- return
+# except (ValueError, KeyError, IndexError), message:
+# self.error_message.append(_('Error: ') + str(message))
+# return
# commit now that all the tricky stuff is done
self.db.commit()
# redirect to the item's edit page
- raise Redirect, '%s%s%s?+ok_message=%s'%(self.base, self.classname,
+ raise Redirect, '%s%s%s?@ok_message=%s'%(self.base, self.classname,
self.nodeid, urllib.quote(message))
def editItemPermission(self, props):