|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
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 $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -717,7 +717,8 @@ def _post_editnode(self, nid): |
717 | 717 | designator, property = value.split(':') |
718 | 718 | link, nodeid = roundupdb.splitDesignator(designator) |
719 | 719 | 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)[:] |
721 | 722 | value.append(nid) |
722 | 723 | link.set(nodeid, **{property: value}) |
723 | 724 | elif key == ':link': |
@@ -1362,6 +1363,18 @@ def parsePropsFromForm(db, cl, form, nodeid=0): |
1362 | 1363 |
|
1363 | 1364 | # |
1364 | 1365 | # $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 | +# |
1365 | 1378 | # Revision 1.125 2002/05/25 07:16:24 rochecompaan |
1366 | 1379 | # Merged search_indexing-branch with HEAD |
1367 | 1380 | # |
|
0 commit comments