I am currently working with sitecore items that are in a draft workflow state. The following happens:
- Create an item that will go into workflow draft state
- Publish the item/publish the parent item (with sub items selected) to the web db from master db, ignore publish warning prompt
- The item will appear in the web database but with no versions
This causes our controls to render the item but with standard values because there are no versions. Of course we could add a check for item.Versions.Count > 0 but my question is why this is happening?
Surely an item in draft workflow state should never appear in the web database in any way?
The workflow being used is pretty standard and has no customisation. The states and commands are:
- Draft
- Submit
- Awaiting approval
- Reject
- Approve
- Validation action
- Approved
- Auto publish
Thanks in advance.