Skip to:
Content

bbPress.org

Opened 17 years ago

Closed 17 years ago

Last modified 4 months ago

#671 closed defect (bug) (fixed)

Slugs incremented incorrectly on upgrade

Reported by: sambauers's profile sambauers Owned by:
Milestone: 0.8.3 Priority: high
Severity: major Version: 0.8.2
Component: API - Installation/Upgrade 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 (1)

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

Download all attachments as: .zip

Change History (6)

#2 @mdawaffe
17 years ago

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

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

#3 @mdawaffe
17 years ago

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().

#4 @mdawaffe
17 years ago

  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.

#5 @mdawaffe
17 years ago

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

Note: See TracTickets for help on using tickets.