Description
Content Items that are in Workflow Stages marked as last_stage are displayed in Review Queue, but they should be filtered out.
Setup:
Add the following Workflow:
# Identifier of the workflow custom_workflow: name: Custom Workflow matchers: # Which Content Types can use this workflow, optional content_type: article # Which status of the Content item can use this workflow, optional. Available statuses are draft and published. content_status: draft # All stages the content goes through stages: draft: label: Draft color: '#f15a10' proofread: label: Proofread color: '#5a10f1' done: label: Done color: '#301203' # Content items in this stage don't appear on the Dashboard and in Review Queue. last_stage: true initial_stage: draft # Available transitions between stages transitions: to_proofread: from: draft to: proofread label: To proofreading color: '#8888ba' icon: '/bundles/ezplatformadminui/img/ez-icons.svg#comment' reviewers: required: true back_to_draft: reverse: to_proofread label: Back to draft color: '#cb8888' icon: '/bundles/ezplatformadminui/img/ez-icons.svg#comment' done: from: proofread to: done label: Done color: '#88ad88' icon: '/bundles/ezplatformadmi'
Steps to reproduce:
1. Login as admin
2. Go to Content -> Content Structure
3. Start creating a new Article
4. Execute the "To proofreading" transition, sending it to Admin user
5. From the Dashboard edit the Draft and execute the "Done transition"
4. Go to the Dashboard
Expected:
Review queue is empty. Done Stage is marked as last_stage, so it should be excluded according to our doc.
Actual:
Created Article is visible in Review Queue (in "Done" Stage)
Attachments
Issue Links
- relates to
-
EZEE-3196 Dashboard with configured Workflow crashes on PostgreSQL
- Closed