Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
3.3.1
-
None
Description
Steps to reproduce
1. Configure two separated workflows for different ContentTypes. Use same names for the stages. Example configuration:
ezpublish: system: default: workflows: page_workflow: name: 'Page Workflow' matchers: content_type: landing_page stages: draft: label: 'Draft' color: '#ff0000' design: label: 'Design' color: '#ffff00' proofread: label: 'Proofread' color: '#ffa500' done: color: '#00ff00' last_stage: true initial_stage: draft transitions: design: from: draft to: design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to Design' proofread: from: design to: proofread icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to Proofread' done: from: proofread to: done icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' back_to_draft: from: [design,proofread] to: draft icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Draft' back_to_design: from: proofread to: design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Design' article_workflow: name: 'Article Workflow' matchers: content_type: article stages: draft: label: 'Draft' color: '#ff0000' design: label: 'Design' color: '#ffff00' proofread: label: 'Proofread' color: '#ffa500' done: color: '#00ff00' last_stage: true initial_stage: draft transitions: design: from: draft to: design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to Design' proofread: from: design to: proofread icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' label: 'Send to Proofread' done: from: proofread to: done icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved' back_to_draft: from: [ design,proofread ] to: draft icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Draft' back_to_design: from: proofread to: design icon: '/bundles/ezplatformadminui/img/ez-icons.svg#rejected' label: 'Back to Design'
2. Go to AdminUI -> Roles -> Select one -> Create Policy -> Workflow / Change state.
3. Open list to select the stage. You'll notice that there is no Workflow name indicator therefore it is impossible to select the right stage.
Expected behavior
There is a workflow name indicator somewhere on the list.