[BUGFIX] Ensure slug update wizard uses proper sorting 53/58153/2
authorBenni Mack <benni@typo3.org>
Mon, 3 Sep 2018 19:06:22 +0000 (21:06 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 3 Sep 2018 21:04:49 +0000 (23:04 +0200)
commit416e99e81068639fab8e8232a3d959ad912a969a
tree9ca2fe7359364357e534b9883c323f0f9ee5b949
parent95a421eae2c1b95175cabdbd42ab0e6281e4ba0c
[BUGFIX] Ensure slug update wizard uses proper sorting

If two subpages share the same name, it is important, that the first
page gets a proper name, and the second one follows the uniqueInSite pattern.

Also, sorting by workspaces (live first), PID and then sorting seems to be
just logical. I wonder why I did not add this before.

Resolves: #86120
Releases: master
Change-Id: I53f279034c2c61a31b50fc973721827f0c2685ba
Reviewed-on: https://review.typo3.org/58153
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/install/Classes/Updates/PopulatePageSlugs.php