Skip to content

Commit 9ed338d

Browse files
author
Richard Jones
committed
files multilink was being nuked in post_edit_node
1 parent 9154875 commit 9ed338d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup/cgi_client.py

Lines changed: 6 additions & 2 deletions
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.76 2001-12-05 14:26:44 rochecompaan Exp $
18+
# $Id: cgi_client.py,v 1.77 2001-12-06 22:48:29 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -480,7 +480,7 @@ def _post_editnode(self, nid, change_note=None):
480480
link.set(nodeid, **{property: nid})
481481

482482
# handle file attachments
483-
files = []
483+
files = cl.get(nid, 'files')
484484
if self.form.has_key('__file'):
485485
file = self.form['__file']
486486
if file.filename:
@@ -1084,6 +1084,10 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
10841084

10851085
#
10861086
# $Log: not supported by cvs2svn $
1087+
# Revision 1.76 2001/12/05 14:26:44 rochecompaan
1088+
# Removed generation of change note from "sendmessage" in roundupdb.py.
1089+
# The change note is now generated when the message is created.
1090+
#
10871091
# Revision 1.75 2001/12/04 01:25:08 richard
10881092
# Added some rollbacks where we were catching exceptions that would otherwise
10891093
# have stopped committing.

0 commit comments

Comments
 (0)