Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access drafts after converting Channel to Structure #4866

jeffers102 opened this issue Aug 30, 2019 · 1 comment


Copy link

commented Aug 30, 2019


Ran into a weird problem this morning. I converted a Channel to a Structure yesterday, then today, I tried to promote some drafts within the Structure. I received no errors when switching between the "Current" revision and draft revision. However, after reloading, each time the selected revision was the "Current" revision. I remembered that yesterday I had switched the type. So I went back and reverted the section to a Channel and things immediately worked again. My, maybe naive, understanding was that Channels are subsets of Structures. So I didn't expect draft entries to no longer be selectable.

Steps to reproduce

  1. Create a Channel section.
  2. Add a new entry in the Channel.
  3. Promote a live version and then make a draft.
  4. Change the Channel to a Structure.
  5. Attempt to access the draft.

This comment has been minimized.

Copy link

commented Aug 30, 2019

Ah this is probably happening because the drafts & revisions aren’t getting added to the structure along with the source entries. So they aren’t getting matched by the draft & revision queries. Will look into what we can do to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.