#608 closed defect (bug) (fixed)
Wire DB tables not being created
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | Priority: | blocker | |
Severity: | Version: | ||
Component: | Keywords: | has-patch | |
Cc: |
Description
Installed DB/site from scratch. Thanks to burtadsit for spending time going through this with me.
bp-xprofile.php, xprofile_add_admin_menu(). BP_XPROFILE_DB_VERSION = 948.
The call to xprofile_install() will block xprofile_wire_install() from being called as BP_XPROFILE_DB_VERSION is 948, which is the same value as get_site_option('bp-xprofile-db-version') has.
This bug was introduced with the changes to bp-xprofile.php introduced in rev 1225 of this file.
Attachments (1)
Change History (8)
#2
@
15 years ago
This is because the xprofile table upgrade is run, and then the new db version is updated before the wire upgrade version check is done. Stupid, I'll fix.
#3
@
15 years ago
djpaul would have found this if he had not been tired. End of the day for him. He was willing and able but got sidetracked by lack of sleep.
#4
@
15 years ago
- Keywords has-patch added
See attached. I also found the same problem occurring in bp-groups.php, so both fixes in this patch. Hope patch is appropiate.
To clarify the wp_bp_xprofile_wire table isn't being created. Quite possibly there are other similar bugs with the other similar DB_VERSION variables around the place but haven't checked.