Bug #87404

Nested sites do not work when calculating slug

Added by Benni Mack 11 days ago. Updated 10 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Start date:
2019-01-11
Due date:
% Done:

100%

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

Description

When the rootpage of a nested site configuration within one page tree is saved, the slug is wrong, as it is calculated against the pages' PID and not the page UID itself.

Associated revisions

Revision 8439f13f (diff)
Added by Benni Mack 10 days ago

[BUGFIX] Make nested slugs in rootpages possible

If there are nested sites, the rootpage of the
nested site cannot have the slug "/" as the uniqueInSite
evaluates against the parent page, and not the actual
page.

Instead of taking the PID of the parent page ID, the uid
of the localized record is used.

Resolves: #87404
Releases: master, 9.5
Change-Id: Idab821cae57fe72b01f5b4beef80341db4273fc8
Reviewed-on: https://review.typo3.org/59390
Tested-by: TYPO3com <>
Reviewed-by: Daniel Gorges <>
Tested-by: Daniel Gorges <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 1f8fbd63 (diff)
Added by Benni Mack 10 days ago

[BUGFIX] Make nested slugs in rootpages possible

If there are nested sites, the rootpage of the
nested site cannot have the slug "/" as the uniqueInSite
evaluates against the parent page, and not the actual
page.

Instead of taking the PID of the parent page ID, the uid
of the localized record is used.

Resolves: #87404
Releases: master, 9.5
Change-Id: Idab821cae57fe72b01f5b4beef80341db4273fc8
Reviewed-on: https://review.typo3.org/59415
Tested-by: TYPO3com <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 11 days ago

  • Status changed from New to Under Review

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/59390

#2 Updated by Gerrit Code Review 11 days 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/59390

#3 Updated by Gerrit Code Review 10 days 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/59415

#4 Updated by Benni Mack 10 days ago

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

Also available in: Atom PDF