Bug #87697

Copying a page copies the slug without making it unique

Added by Helmut Hummel about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-02-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

  • Have a site configuration
  • Create a page
  • Copy that page

Expectation: the copied page has a unique slug

Actual result: the copied page has the identical slug as the original, leading to a slug conflict


Files

duplicate_slug.png (59.3 KB) duplicate_slug.png André Schließer, 2019-03-01 09:39
correct_slug.png (58.4 KB) correct_slug.png André Schließer, 2019-03-01 09:39
#1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59686

#2

Updated by André Schließer about 2 years ago

I found an other scenario to produce duplicate slugs:

  • Create a sysfolder (level 1)
  • Add a second sysfolder as cild of first (level 2)
  • Create a page on level 1 with the same name like the second sysfolder

With his patch this scenario is also fixed:

Without patch With patch
#3

Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59686

#4

Updated by Gerrit Code Review about 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59686

#5

Updated by Gerrit Code Review about 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59686

#6

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59830

#7

Updated by Helmut Hummel about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#8

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF