Bug #86150

Problem when page tree for site is deleted and site configuration remains

Added by Timo Hund over 1 year ago. Updated over 1 year ago.

Should have
Link Handling, Site Handling & Routing
Target version:
Start date:
Due date:
% Done:


TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


I think that there is a problem when the site configuration remains in /config/sitename, but the site in the page tree is deleted.

I did the following steps:

  • Created page structure for site A (site with site root)
  • Created site configuration for that site in sites module

After that i wanted to recreate the page structure in a second tree (but with the goal to use the same domain as for site A because i want to replace that later).

  • Created page structure for site B
  • Deleted page structure for site A (because i did't not need it anymore)
  • Created site configuration for site B

In the end i got a page not found error in the frontend, but the configuration in the backend looked correct (page structure for page B and site configuration for siteB). In the end i recognized, that the pagetree for page A was deleted, but the site configuration in the config folder still exists. But the site configuration for siteA was not visible anymore in the backend.

I think it would be good if the unused site configurations are somehow visible in the backend, or the site configuration is deleted when the tree for that site get's deleted.

Associated revisions

Revision 249b5237 (diff)
Added by Georg Ringer over 1 year ago

[TASK] Show unassigned sites in site module

The site module displays now also sites with no valid related page anymore.
This can happen if the page is being removed.

Resolves: #86150
Releases: master
Change-Id: If75a33e6c2d189abd42746b52d0b828b7a7b38cb
Reviewed-on: https://review.typo3.org/58192
Tested-by: TYPO3com <>
Reviewed-by: Riny van Tiggelen <>
Reviewed-by: Timo Hund <>
Tested-by: Timo Hund <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>


#1 Updated by Georg Ringer over 1 year ago

  • Category set to Link Handling, Site Handling & Routing
  • Status changed from New to Accepted

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted 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/58192

#3 Updated by Georg Ringer over 1 year ago

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

#4 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF