WBCE / WBCE_CMS

Core package of WBCE CMS. This package includes the core and the default addons. Visit https://wbce.org (DE) or https://wbce-cms.org (EN) to learn more or to join the WBCE CMS community.
https://wbce-cms.org
GNU General Public License v2.0
31 stars 22 forks source link

Deleting pages does not remove corresponding subdirectory #488

Closed instantflorian closed 4 years ago

instantflorian commented 4 years ago

When a page (and its childpages) is deleted, the directory with the page's name is not deleted. Then trying to create a new page with the same name as the deleted name ends up with an error message "page already existing".

Steps to reproduce:

  1. Create page "test"
  2. Create page "test2" as a childpage of test
  3. Delete page "test"
  4. Try to create a new page "test" => error message

In the file system there still is an empty directory named "test" in pages.