- Create a workflow configuration with the "hide drafts" option activated
- Create page in multiple languages with links to other drafts in the same wiki and in a distinct wiki.
- Initialize workflow on that page
- Submit page to moderation, then to validation
- Publish page
- Remove some translations from draft, then republish
- Add rights to the published page, then republish
- Archive page
- The draft page is marked as hidden
- Page rights are updated on each transition along the chosen workflow configuration groups
- The publish action creates a page at the expected location, with translations
- The published page links referring to pages under workflow point at published pages, in the default page as well as in the translations, even if the drafts are not published yet
- On second publication, the rights set on the published page are not overriden
- When a translation gets removed from the draft, the corresponding published translation gets removed on next publish
- On page archiving, the page and all its translations become hidden
- Create page in multiple languages containing both non-terminal and terminal children, with at least 3 hierarchy levels, with links to other drafts under the same workflow or in other workflows, pointing at either terminal or non-terminal pages, either workflow root pages or child pages, in the same wiki or in a distinct wiki.
- Initialize workflow on that page and check the "include children" option
- Submit page to moderation, then to validation
- Publish page
- Remove some children and grandchildren from draft, then republish
- Add rights to the published page hierarchy, then republish
- Archive page
- Publish page from archive
- Create new child in draft, with a workflow configuration where drafts are marked as hidden
- Page draft and its children are marked as hidden
- Page hierarchical rights (global rights in
WebPreferences
) are updated on each transition along the chosen workflow configuration groups - The publish action creates a page at the expected location with its children and grandchildren published as well, and with a history message reflecting the publish action
- Links in the published pages pointing at pages which are under workflow point exclusively at published pages, not draft ones, even if the drafts are not published yet
- When draft page children or grandchildren get removed, the corresponding published children or grandchildren get removed on next publish
- When rights are updated on the published page hierarchy, they are preserved on next publish
- On page archiving, the main page, the children and grandchildren get hidden
- On page publication from archive, the main page, its children and grandchildren get unhidden
- Newly created child pages in draft document after the workflow has been initialized are marked as hidden if the corresponding workflow config says so (not implemented)
- Create page with children
- Initialize workflow without checking the "include children" option
- Moderate and publish page
- Local rights are used on the draft page, not hierarchical ones
- On publish, the page under workflow gets published, but not its children
- Create new workflow
- Activate option "Skip draft rights"
- Initialize workflow
- Submit page to moderation
- Submit page to validation
- Publish page
For each transition (workflow initialization, submission to moderation, submission to validation, publication), page rights remain unchanged (in the page itself or in WebPreferences dependending whether option "include children" is activated or not).