Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Problems deleting PageTable pages outside of the field #815
I am having problems deleting pages used by a PageTable field, when not using the actual PageTable field
Processwire version : 2.5.8 dev
I am storing the PageTable pages in a hidden folder called "Videos".
If I am logged in as root admin, the deleted PageTable page is greyed out, I can open the page and edit, but there is a message that :
And there is no way from this dialog to restore the page (of course you can go manually to the trash and restore it).
If I am logged in as an editor (with reduced permissions but including "page-delete") - the deleted PageTable page is greyed out, but when I try to edit the page, there is an error message.
And it is not possible to edit the page.
The reason I would like to do this is because I want to allow the editors different ways of managing the content outside of the PageTable field context. For example having helper links on the front end that allows editors to easily edit the PageTable pages or viewing all the PageTable pages with Lister Pro (almost like a media manager).
It sounds like the issue here is that a page got trashed outside of PageTable, so PageTable still has a reference to it. I suppose this could be resolved just by having PageTable ignore its own page references if they happen to point to a page in the trash. I wanted to make sure I understood correctly, does that sound right?