Ticket #1932 (assigned defect)

Opened 14 months ago

Last modified 2 months ago

renaming page with numeric ending has strange consequences

Reported by: smagnusson Owned by: ajshort
Priority: medium Milestone: 2.4.0
Component: CMS - General Version:
Severity: medium effort / impact Keywords:
Cc: Hours:

Description

Current Name -> Attempting to rename to -> Actual result

"About Us" -> "About Us ABC" -> "AboutUsABC" (GOOD)

"About Us" -> "About Us 2007" -> "AboutUs?200" (BAD)

"About Us" -> "About Us 2" -> "AboutUs?2" (BAD)

"About Us" -> "About Us 200000000000007" -> "AboutUs?200000000000007" (OK)

In other words, if you rename a page to have a small number at the end, the last digit is stripped off the resulting base URL.

Raised by a guy on our blog; http://www.silverstripe.com/silverstripe-2-2-released-redesigned-interface-and-double-the-features/#PageComments_holder

Change History

Changed 2 months ago by sminnee

  • owner changed from aoneil to ajshort
  • milestone set to 2.4.0

This will be because of the duplication-avoidance logic that turns "about-us-2" into "about-us-3" instead of "about-us-2-2".

Andrew, can you look at this as part of your nestedurls work?

Changed 2 months ago by ajshort

  • status changed from new to assigned
Note: See TracTickets for help on using tickets.