Skip to content

Commit 1a97106

Browse files
author
Richard Jones
committed
Change message was stuffing up for multilinks with no key property.
1 parent 49e22b2 commit 1a97106

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

roundup/cgi_client.py

Lines changed: 22 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.27 2001-10-05 02:23:24 richard Exp $
18+
# $Id: cgi_client.py,v 1.28 2001-10-08 00:34:31 richard Exp $
1919

2020
import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes
2121
import base64, Cookie, time
@@ -340,7 +340,7 @@ def _post_editnode(self, nid, changes=None):
340340
key = link.labelprop(default_to_id=1)
341341
for entry in value:
342342
if key:
343-
l.append(link.get(entry, link.getkey()))
343+
l.append(link.get(entry, key))
344344
else:
345345
l.append(entry)
346346
value = ', '.join(l)
@@ -701,6 +701,26 @@ def parsePropsFromForm(cl, form, nodeid=0):
701701

702702
#
703703
# $Log: not supported by cvs2svn $
704+
# Revision 1.27 2001/10/05 02:23:24 richard
705+
# . roundup-admin create now prompts for property info if none is supplied
706+
# on the command-line.
707+
# . hyperdb Class getprops() method may now return only the mutable
708+
# properties.
709+
# . Login now uses cookies, which makes it a whole lot more flexible. We can
710+
# now support anonymous user access (read-only, unless there's an
711+
# "anonymous" user, in which case write access is permitted). Login
712+
# handling has been moved into cgi_client.Client.main()
713+
# . The "extended" schema is now the default in roundup init.
714+
# . The schemas have had their page headings modified to cope with the new
715+
# login handling. Existing installations should copy the interfaces.py
716+
# file from the roundup lib directory to their instance home.
717+
# . Incorrectly had a Bizar Software copyright on the cgitb.py module from
718+
# Ping - has been removed.
719+
# . Fixed a whole bunch of places in the CGI interface where we should have
720+
# been returning Not Found instead of throwing an exception.
721+
# . Fixed a deviation from the spec: trying to modify the 'id' property of
722+
# an item now throws an exception.
723+
#
704724
# Revision 1.26 2001/09/12 08:31:42 richard
705725
# handle cases where mime type is not guessable
706726
#

0 commit comments

Comments
 (0)