Jump to:

23493 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Pages disappearing from Site Tree after Delete Draft

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

Page: 1
Go to End
Author Topic: 204 Views
  • tmkp
    Avatar
    Community Member
    42 Posts

    Pages disappearing from Site Tree after Delete Draft Link to this post

    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

  • tmkp
    Avatar
    Community Member
    42 Posts

    Re: Pages disappearing from Site Tree after Delete Draft Link to this post

    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.

  • jac_np
    Avatar
    Community Member
    6 Posts

    Re: Pages disappearing from Site Tree after Delete Draft Link to this post

    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.

  • martimiz
    Avatar
    Forum Moderator
    1086 Posts

    Re: Pages disappearing from Site Tree after Delete Draft Link to this post

    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

    204 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.