Skip to content

Commit 06e375c

Browse files
author
Richard Jones
committed
[SF#565996] The "Attach a File to this Issue" fails
1 parent 40058e9 commit 06e375c

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Fixed:
6565
message content
6666
. build htmlbase if tests are run using CVS checkout
6767
. #565979 ] code error in hyperdb.Class.find
68+
. #565996 ] The "Attach a File to this Issue" fails
6869

6970
2002-03-25 - 0.4.1
7071
Feature:

roundup/cgi_client.py

Lines changed: 15 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.126 2002-05-29 01:16:17 richard Exp $
18+
# $Id: cgi_client.py,v 1.127 2002-06-11 06:38:24 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -717,7 +717,8 @@ def _post_editnode(self, nid):
717717
designator, property = value.split(':')
718718
link, nodeid = roundupdb.splitDesignator(designator)
719719
link = self.db.classes[link]
720-
value = link.get(nodeid, property)
720+
# take a dupe of the list so we're not changing the cache
721+
value = link.get(nodeid, property)[:]
721722
value.append(nid)
722723
link.set(nodeid, **{property: value})
723724
elif key == ':link':
@@ -1362,6 +1363,18 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
13621363

13631364
#
13641365
# $Log: not supported by cvs2svn $
1366+
# Revision 1.126 2002/05/29 01:16:17 richard
1367+
# Sorry about this huge checkin! It's fixing a lot of related stuff in one go
1368+
# though.
1369+
#
1370+
# . #541941 ] changing multilink properties by mail
1371+
# . #526730 ] search for messages capability
1372+
# . #505180 ] split MailGW.handle_Message
1373+
# - also changed cgi client since it was duplicating the functionality
1374+
# . build htmlbase if tests are run using CVS checkout (removed note from
1375+
# installation.txt)
1376+
# . don't create an empty message on email issue creation if the email is empty
1377+
#
13651378
# Revision 1.125 2002/05/25 07:16:24 rochecompaan
13661379
# Merged search_indexing-branch with HEAD
13671380
#

0 commit comments

Comments
 (0)