Problem when page tree for site is deleted and site configuration remains
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.
[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.
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Riny van Tiggelen <firstname.lastname@example.org>
Reviewed-by: Timo Hund <email@example.com>
Tested-by: Timo Hund <firstname.lastname@example.org>
Reviewed-by: Anja Leichsenring <email@example.com>
Tested-by: Anja Leichsenring <firstname.lastname@example.org>
Reviewed-by: Andreas Fernandez <email@example.com>
Tested-by: Andreas Fernandez <firstname.lastname@example.org>