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

Draft page parts are published #50

Open
rca opened this issue Jun 29, 2010 · 0 comments
Open

Draft page parts are published #50

rca opened this issue Jun 29, 2010 · 0 comments

Comments

@rca
Copy link

rca commented Jun 29, 2010

I have not been able to get a 100% repro on this issue, but I know it exists.

Basically, when I'm storing draft revisions and I create a page part in one of the drafts, there is some condition that actually publishes that page part even though I don't want it on the live site.

The workflow is similar to:

  • Create and publish a page with some logic that conditionally adds a certain page part, e.g.:

<r:if_content part="not_live">
<r:content part="not_live">
/r:if_content

  • make a few draft revisions
  • while in draft mode, create the 'not_live' page part and add content.
  • save, again, as draft
  • go to the live page and notice the draft, "not_live", content is on the page.

This setup is similar to how I have a site setup where layouts are conditionally adding a page part if it exists. Having the initial page part's content show up on the live site is not good.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant