requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Removing a wiki's parent-page corrupts connections of children pages #89

Open mathsicist opened 6 years ago

mathsicist commented 6 years ago

Actual behavior

Removing a wiki's parent-page corrupts connections of children pages. When deleting a page which has its own children-pages, these pages stays in mongodb but it's not able to navigate to them via GUI. All pages sections do not display them

Expected behavior

I'm not sure, but it seems logic to display some kind of warring or - in case of deleting parent-page - just change structure of wiki and set a new parent-page for "orphan-pages".

Steps to reproduce the behavior

  1. Sign in as administrator
  2. Create a page with some children-pages
  3. Delete via GUI the parent page
  4. Verify whether it is able to easily get access to the remained pages
NGPixel commented 6 years ago

Will be addressed in 2.0. Restart Wiki.js as a workaround.