Skip to:

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1884 closed defect (bug) (fixed)

Reactivating BP 1.2 SQL errors [has-patch]

Reported by: rvenable's profile rvenable Owned by:
Milestone: 1.2 Priority: minor
Severity: Version:
Component: Keywords:


When you deactivate and reactivate BP 1.2-rc2, you can get SQL errors.

One error is trying to alter the activity table column component_action to type. It gave me an error because my table had already been altered. I attached a diff that checks to see if the column exists before trying to rename it.

Another error is in trying to insert default data into some xprofile tables. The patch I attached first checks to see if there is already data there, so that it won't have to call a failing INSERT statement.

Attachments (1)

sql-fix.diff (2.2 KB) - added by rvenable 14 years ago.

Download all attachments as: .zip

Change History (3)

14 years ago

#1 @apeatling
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2668]) Fixes #1884

#2 @apeatling
14 years ago

Thanks for the patch.

Note: See TracTickets for help on using tickets.