Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1884 closed defect (bug) (fixed)

Reactivating BP 1.2 SQL errors [has-patch]

Reported by: rvenable Owned by:
Priority: minor Milestone: 1.2
Component: Version:
Severity: Keywords:
Cc:

Description

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 17 years ago.

Download all attachments as: .zip

Change History (3)

@rvenable
17 years ago

#1 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [2668]) Fixes #1884

#2 @apeatling
17 years ago

Thanks for the patch.

Note: See TracTickets for help on using tickets.