Blog post bypassing workflow in Kentico

67 views Asked by At

I have a situation where blog posts when saved are being instantly available on the site despite:

  • Having workflow applied that has a specific "publish" step

  • The repeaters on the blog page having "show published" ticked

This only seems to be affecting blog post pages, other pages behave as expected.

Any suggestions? Kentico 9 EMS

2

There are 2 answers

0
Rui On

Check to see if the Workflow general setup has "automatically publish changes" checked by mistake.

enter image description here

Also, double check to see if the Blog section is covered by multiple workflow scope or not. Check the Workflow tab of a blog post and see which workflow is actually been enforced.

0
Jay McCormack On

This was a self induced problem.

We found a global event handler that was being used to set some default properties on page creation, in which was a checkout and checkin. Looks like the checkout/checkin was publishing the page and then setting it back to edit mode.

Resolved by removing the checkout/checkin from the code.