|
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.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 $ |
19 | 19 |
|
20 | 20 | import os, cgi, pprint, StringIO, urlparse, re, traceback, mimetypes |
21 | 21 | import base64, Cookie, time |
@@ -340,7 +340,7 @@ def _post_editnode(self, nid, changes=None): |
340 | 340 | key = link.labelprop(default_to_id=1) |
341 | 341 | for entry in value: |
342 | 342 | if key: |
343 | | - l.append(link.get(entry, link.getkey())) |
| 343 | + l.append(link.get(entry, key)) |
344 | 344 | else: |
345 | 345 | l.append(entry) |
346 | 346 | value = ', '.join(l) |
@@ -701,6 +701,26 @@ def parsePropsFromForm(cl, form, nodeid=0): |
701 | 701 |
|
702 | 702 | # |
703 | 703 | # $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 | +# |
704 | 724 | # Revision 1.26 2001/09/12 08:31:42 richard |
705 | 725 | # handle cases where mime type is not guessable |
706 | 726 | # |
|
0 commit comments