From 976ee9e7bd716a538e7582e47ae9bc8a6d154195 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 21 May 2002 06:08:10 +0000 Subject: [PATCH] Handle migration git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@744 57a73879-2fb5-44c3-a270-3262357dd7e2 --- MIGRATION.txt | 12 ++++++++++++ roundup/cgi_client.py | 10 +++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/MIGRATION.txt b/MIGRATION.txt index c1057e2..27bd93e 100644 --- a/MIGRATION.txt +++ b/MIGRATION.txt @@ -20,6 +20,18 @@ in thousands e.g. msg123 will be put into files/msg/0/msg123, file2003 will go into files/file/2/file2003. Previous messages are still found, but could be put into this structure. +Migrating from 0.4.0 to 0.4.1 +============================= + +Configuration +------------- + +The USER_INDEX definition introduced in 0.4.1 was too restrictive in its +allowing replacement of 'assignedto' with the user's userid. Users must change +the None value of 'assignedto' to 'CURRENT USER' (the string, in quotes) for +the replacement behaviour to occur now. + + Migrating from 0.4.0 to 0.4.1 ============================= diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py index 031d669..ec13b47 100644 --- a/roundup/cgi_client.py +++ b/roundup/cgi_client.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.120 2002-05-21 06:05:53 richard Exp $ +# $Id: cgi_client.py,v 1.121 2002-05-21 06:08:10 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -125,8 +125,9 @@ function help_window(helpurl, width, height) { # now format the filterspec for k, l in filterspec.items(): - # fix up the assignedto if needed - if l == 'CURRENT USER': + # fix up the CURRENT USER if needed (handle None too since that's + # the old flag value) + if l in (None, 'CURRENT USER'): l = [self.db.user.lookup(self.user)] # add @@ -1383,6 +1384,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0): # # $Log: not supported by cvs2svn $ +# Revision 1.120 2002/05/21 06:05:53 richard +# . #551483 ] assignedto in Client.make_index_link +# # Revision 1.119 2002/05/15 06:21:21 richard # . node caching now works, and gives a small boost in performance # -- 2.30.2