[bugs] [Bug 945] New - migrate_152.py needs updating for IMP 3.1 RC2

bugs@bugs.horde.org bugs@bugs.horde.org
Sun, 5 May 2002 20:19:10 -0300


http://bugs.horde.org/show_bug.cgi?id=945

*** shadow/945	Sun May  5 20:19:10 2002
--- shadow/945.tmp.22523	Sun May  5 20:19:10 2002
***************
*** 0 ****
--- 1,45 ----
+ Bug#: 945
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: PHP Code
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Turba
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: sol0@lehigh.edu               
+ URL: 
+ Summary: migrate_152.py needs updating for IMP 3.1 RC2
+ 
+ RH 7.2, IMP 3.1 RC 2, Horde 2.1, Pear 4.1.0, Turba 1.0, PHP 4.2.0, Python 
+ 1.5.2, MySQL.3.23.41. Two real problems:
+ 
+ 1) Turba table name is turba_objects, not Turba_Objects.
+ 
+ 2) Need to quote the echo argument to md5sum to prevent sh errors.
+ 
+ Possibly useful observations:
+ 
+ 1) string.replace may have never worked (excuse me, I'm a perl hacker, 
+ this is my first shot at php - which looks like a nice language BTW).
+ 
+ 2) Code assumes it's running on the old IMP 2.x machine.  I run on the 
+ new IMP 3.1 machine, so need to convert "locahost" to the real domain 
+ name.
+ 
+ 
+ 
+ Here is patch (hope this cut-n-paste works!):
+ 
+ Oh, forget it, fetch it at:
+ 
+     http://www.lehigh.edu/sol0//migrate_152.py.patch2
+ 
+ 
+ thanks,
+ 
+ steve
+