Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 5 years ago

#2650 closed defect (bug) (fixed)

Importer not using wp_bbconverter_translator sync_table

Reported by: netweb's profile netweb Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.2
Component: API - Importers Keywords:
Cc:

Description

When importing forums the wp_bbconverter_translator sync_table is only created when the Purge Previous Import checkbox is selected (_bbp_converter_clean).

We should fix this so that the sync table and 'mini cache' can be used during any import.

There are numerous issues relating to what is copied to wp_bbconverter_translator table during the import process and this ticket should address these here also.

Change History (12)

#1 @netweb
10 years ago

In 5427:

Fixed topic sticky status importing method for compatibility when wp_bbconverter_translator database sync_table exists.

  • Topic stickies and super stickies are correctly stuck with or without sync_table
  • Renamed sticky meta key _bbp_old_sticky_status to _bbp_old_sticky_status_id for importers that support stickies

See #2650

#2 @netweb
10 years ago

In 5428:

Updated forum parent ID importing method for compatibility when wp_bbconverter_translator database sync_table exists.

  • Renamed forum parent meta key _bbp_forum_parent_id to _bbp_old_forum_parent_id for importers that support forum parents
  • Improvements for future iterations of post import meta data manipulation/enhancements with reference only imported post meta keys including a common _old prefix as part of the _bbp prefix

See #2650

#3 @netweb
10 years ago

In 5452:

DB schema change for wp_bbconverter_translator converter sync table

  • Increase meta_key maximum characters from 25 o 255 to allow for longer meta keys during import

See #2650

#4 @johnjamesjacoby
10 years ago

  • Milestone changed from Awaiting Review to 2.6

#5 @netweb
10 years ago

In 5525:

Converter import meta data improvements and fixes:

  • Original 'old' forum, topic or reply meta data is now explicitly defined using a common _bbp_old prefix in the post meta keys that clearly differentiates the new bbPress post meta from the original 'old' forum meta.
  • Fixes the "Purge Previous Import" optional removal of previously imported forums, topics and replies when using the database sync_table. Meta keys ending with _id are now copied to the database sync_table.

See #2650

#6 @netweb
10 years ago

In 5526:

Importer templates updates to coincide with r5525 changeset to differentiating original forum, topic and reply meta ID's from new bbPress post meta keys.

  • Renames _bbp_forum_id to _bbp_old_forum_id
  • Renames _bbp_topic_id to _bbp_old_topic_id
  • Renames _bbp_post_id to _bbp_old_reply_id

See #2650

#7 @netweb
10 years ago

In 5527:

Converter import meta data improvements and fixes:

  • Original 'old' hierarchical/threaded replies meta key is now defined using _bbp_old_reply_to_id
  • Fixes the "Purge Previous Import" optional removal of previously imported hierarchical/threaded replies when using the database sync_table.
  • Updates Drupal7.php importer compatibility for the above changes

See #2650

#8 @netweb
10 years ago

In 5530:

Converter import user meta data improvements and fixes:

  • Original 'old' user meta key is now defined using _bbp_old_user_id
  • Fixes the "Purge Previous Import" optional removal of previously imported users when using the database sync_table.
  • Updates all included importers with the above changes including the custom callback in e107v1.php

See #2650

#9 in reply to: ↑ description @netweb
10 years ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

Closing this now as fixed:

  • Purge Previous Import now correctly removes any previously imported forums.
  • The included 'mini cache' functions now work with or or without the sync_table
  • Imported meta is clearly distinguishable from bbPress meta with the use of the _bbp_old prefixes.

#10 @netweb
10 years ago

In 5543:

DB schema change for wp_bbconverter_translator converter sync table

  • Increase meta_value maximum characters from 25 o 255 to allow for longer meta values during import

See #2650

#11 @netweb
8 years ago

In 5988:

Tools: Use updated meta key _bbp_old_user_id to determine imported users in bbp_admin_reset_handler()

This changeset updates the meta key used to determine an imported user for handling the deletion of imported users in the reset forums tool, this should have originally been included in r5530 but was missed.

See #2650

#12 @johnjamesjacoby
5 years ago

Assigning all closed & unassigned tickets in the 2.6 milestone to myself.

Note: See TracTickets for help on using tickets.