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

There is no "Save" button for workflow in Page builder for specified policies

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.0.0-beta1, 2.5.5
    • Workflow

    Description

      Workflow configuration

      1. Create app/config/workflows.yml (for v3: config/packages/ezplatform_workflow.yaml):

      ezpublish:
          system:
              default:
              #admin:
                  workflows:
                      lp_workflow:
                          name: 'Landing Page Workflow'
                          matchers:
                              content_type: landing_page
                          stages:
                              draft:
                                  label: 'Draft'
                                  color: '#aaa'
                              design:
                                  label: 'Design'
                                  color: '#9ff'
                              proofread:
                                  label: 'Proofread'
                                  color: '#99f'
                              done:
                                  color: '#0f0'
                                  last_stage: true
                          initial_stage: draft
                          transitions:
                              to_design:
                                  from: draft
                                  to: design
                                  icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved'
                                  label: 'Send to Design'
                                  notification:
                                      user_group: 13 # Notify "Editors" group
                                      user: 14 # ... and "Administrator" user
                              to_proofread:
                                  from: design
                                  to: proofread
                                  icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved'
                                  label: 'Send to Proofread'
                                  notification:
                                      user_group: 13 # Notify "Editors" group...
                                      user: 14 # ... and "Administrator" user
                              to_done:
                                  from: proofread
                                  to: done
                                  icon: '/bundles/ezplatformadminui/img/ez-icons.svg#approved'
                                  label: 'Done'
      

      2. Import in app/config/config.yml (for v3: tere is no need to do this step):

          - { resource: workflows.yml } 
      Steps:

      1. Create a user with following policies:

      • User/Login
      • Content/Create
      • Content/Read
      • Content/Versionread
      • Workflow/Change_state with to_design state

      2. Log in as a created user
      3. Go to Content/Content structure and click Create
      4. Select Landing Page
      5. Select layout, confirm
      6. Fill required fields and try to develop the menu on the right side

      Actual result:

      There is only Send to design button. Save button is missing. If the same workflow is configured for an Article, Save button is visible and it's working fine.

      Expected result:

      Save button should be visible.

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: