Title | Schema upgrades break replicator |
Status | closed |
Priority | critical |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | P4DTI 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 |
Analysis | schema_upgrade should be self.schema_upgrade |
How found | customer |
Evidence | <http://info.ravenbrook.com/mail/2007/07/30/23-56-17/0.txt > |
Observed in | 2.4.0 |
Introduced in | 2.4.0 |
Created by | Nick Barnes |
Created on | 2007-08-10 14:49:14 |
Last modified by | Nick Barnes |
Last modified on | 2007-08-10 15:38:43 |
History | 2007-08-10 NB Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
163089 | closed | 2007-08-10 15:38:04 | Nick Barnes | Fix schema_upgrade typo. |