Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3507

Unable to distinguish workflows while adding policy workflow/change_state

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.3.1
    • Workflow
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: