[buddypress-trac] [BuddyPress] #3152: Redirect at the end of upgrade/install wizard does not work

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Apr 14 13:43:10 UTC 2011


#3152: Redirect at the end of upgrade/install wizard does not work
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect        |     Status:  new
 Priority:  critical      |  Milestone:  1.3
Component:  Core          |    Version:  1.3
 Keywords:                |
--------------------------+-----------------
 In the Finish step of the upgrade wizard (step_finish_save() is the name
 of the method), you get redirected to the BP general settings page. But
 this redirect seems to happen too soon, perhaps before the rest of BP is
 loaded, because the BP panel does not load correctly: on single WP, you
 get the "You do not have permission to access this page" message
 (refreshing the page will get you there) and on MS you are redirected to
 wp-admin/network/?c=1

 I'm not sure what the solution is. I'm sure this is a load order issue,
 but given the way that the upgrade functions are conditionally loaded, I'm
 not certain that there's a way to give them a different priority with
 respect to the rest of BP. Another possible fix is to redirect back to the
 main Dashboard (perhaps with an admin notice that says "BP is set up!
 Click here to change settings"). Not quite as elegant, but easy, and it
 won't run into the same problems.

 Marking critical because, for UX reasons, it really should be fixed one
 way or another.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3152>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list