[buddypress-trac] [BuddyPress] #3179: bp_blogs_record_existing_blogs() should run during MS upgrade routine

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue May 10 14:30:56 UTC 2011


#3179: bp_blogs_record_existing_blogs() should run during MS upgrade routine
---------------------------+-----------------
  Reporter:  boonebgorges  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  major         |  Milestone:  1.3
 Component:  Blogs         |    Version:  1.3
Resolution:                |   Keywords:
---------------------------+-----------------

Comment (by boonebgorges):

 It seems like it would be easy, but I just spent 90 minutes trying every
 possible permutation, and I simply could not get it to work. First, you
 need to have the whole of BP loaded in order for
 bp_blogs_record_existing_blogs() to work. But just loading this is not
 enough, because the blogs component has to be activated, which is not the
 case until after the wizard is totally finished.

 I'm going to commit a fix that does a small check on admin loads to see
 whether the blogs table is empty (which it should never be). I know that
 this is not ideal. If anyone has a better idea, please feel free to reopen
 this ticket.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3179#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list