P4DTI issue job001704

TitleSchema upgrades break replicator
Statusclosed
Prioritycritical
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionP4DTI 2.4.0 changed the schema of a MySQL table used for recording replications. The code to update the schema when running the replicator against an older database has a typo and breaks with a Python error.
File "/p4dti/bugzilla.py", line 1034, in update_p4dti_schema
   (new_version, sql_commands) = schema_upgrade[old_schema_version]
NameError: global name 'schema_upgrade' is not defined
Analysisschema_upgrade should be self.schema_upgrade
How foundcustomer
Evidence<http://info.ravenbrook.com/mail/2007/07/30/23-56-17/0.txt>
Observed in2.4.0
Introduced in2.4.0
Created byNick Barnes
Created on2007-08-10 14:49:14
Last modified byNick Barnes
Last modified on2007-08-10 15:38:43
History2007-08-10 NB Created.

Fixes

Change Effect Date User Description
163089 closed 2007-08-10 15:38:04 Nick Barnes Fix schema_upgrade typo.