Ticket #671 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Slugs incremented incorrectly on upgrade

Reported by: sambauers Owned by:
Priority: high Milestone: 0.8.3
Component: Installation/Upgrade Version: 0.8.2
Severity: major Keywords: slugs
Cc:

Description

Slugs are not incremented correctly by the upgrade script from pre 0.8.2 versions to 0.8.2

Slugs are incrementing like this:

example example-1 example-1-2 example-1-2-3 etc.

Instead of like this:

example example-1 example-2 example-3 etc.

Normal creation of slugs in new topics occurs correctly however

Attachments

reprocess-slugs.php Download (351 bytes) - added by mdawaffe 5 years ago.

Change History

  • Status changed from new to closed
  • Resolution set to fixed

(In [874]) uprade slug bug. Fixes #671

If you want to reprocess your slugs, write a script that loads bb-load.php and bb-admin/upgrade-functions.php then runs bb_upgrade_process_all_slugs().

  1. Put attached reprocess-slugs.php in bbPress' main directory.
  2. Go to  http://your-bbpress-url/reprocess-slugs.php
  3. Depending on size of you forums, wait until it's done (it will be obvious).
  4. Delete the reprocess-slugs.php file from your server.

(In [895]) numeric titles don't get slugged properly on upgrade. Fixes #671

Note: See TracTickets for help on using tickets.