Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Pages disappearing from Site Tree after Delete Draft


Reply


4 Posts   276 Views

Avatar
tmkp

Community Member, 42 Posts

1 May 2014 at 4:43am

Edited: 01/05/2014 4:53am

Hi,
spent the afternoon playing around with 3.1.4 when i came across this very strange behaviour.

Working through the tutorials I've added a couple of pages. They show up in the Admin Sitetree and everything works as expected.

Now if I

1. create a new generic content page
2. save & publish the page
3. unpublish the new page
4. delete the new page from draft

Firstly the deleted page still shows up in sitetree - it's crossed out / marked as deleted, but it's still there and I can't do anything with it anymore. Wouldn't it be expected to be just gone?

Secondly, if I log out at this point and then log back in ALL the other pages except for Home, Page Not Found and Server Error are gone from Sitetree. Disappeared altogether.

They still show up on the Front end, and if I switch to split view and click them in the main menu they come back one after the other in sitetree, in whatever random order I click them.

Once all the pages are back, I log out and back in again, and Sitetree is back to it's original order.

Did a quick search but didn't find any tickets, is this a known issue?

------------
EDIT: I'm on FF28.0, running on xampp 1.8.3 if that's of any interest

Avatar
tmkp

Community Member, 42 Posts

1 May 2014 at 5:09am

Trying to reproduce this in various ways.

Edit Mode
If i delete a draft I can still access the deleted page in Sitetree and get the Restore Button. Once i log out and back in the Page is gone for good.

Split Mode
Deleted Page still shows up in sitetree but i can't access it, screen flashes and then i just get an empty grey field - no restore button. After logout/login the page is gone.

In both cases other pages disappear randomly from the sitetree after relogging.

Avatar
jac_np

Community Member, 6 Posts

4 May 2014 at 10:58am

Just wanted to say I have also experienced this behaviour when unpublishing and then deleting drafts.
I end up with some sections of pages completely missing from the displayed site tree.
I have to log out, login and refresh various numbers of times until it sorts itself out again.

Avatar
martimiz

Forum Moderator, 1132 Posts

4 May 2014 at 8:36pm

If you feel this may be a bug, and it hasn't been reported yet, please create an issue on GitHub here:

https://github.com/silverstripe/silverstripe-cms/issues?state=open

Thanks, Martine