Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-877

Sending draft back inside workflow can result in the draft to vanish

    XMLWordPrintable

Details

    • [4.0] - Sprint 18
    • Ibexa Content

    Description

      When a draft is sent to the next stage inside workflow, with a reviewer specified, and the reviewer will send the draft back to the previous stage and to the same user (author of the draft) the draft will end up in limbo, not showing anywhere inside the dashboard.

      Steps to reproduce
      1. Clean installation of Ibexa DXP v3.3.6
      2. Add a workflow:

      ezplatform:
          system:
              default:
                  workflows:
                      test_workflow:
                          name: Test Workflow
                          stages:
                              draft:
                                  label: Draft
                                  color: '#f15a10'
                              proofread:
                                  label: Proofread
                                  color: '#5a10f1'
                              done:
                                  label: Done
                                  color: '#301203'
                                  last_stage: true
                          initial_stage: draft
                          transitions:
                              to_proofread:
                                  from: draft
                                  to: proofread
                                  label: To proofreading
                                  color: '#8888ba'
                                  icon: '/bundles/ezplatformadminui/img/ez-icons.svg#comment'
                              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/ezplatformadminui/img/ez-icons.svg#comment'
                                  actions:
                                      publish: ~
      

      3. Log in inside the back office as admin and set Polices for Editors as follows:

      Role User/Group Module Function Limitations
      Member Editors Content Read Content Type: User, Owner: Self
      Editor Editors Content * None
      Editor Editors User Login None
      Editor Editors Url * None
      Editor Editors Workflow Change_stage WorkflowTransition: test_workflow: to_proofread

      4. Create a new editor user insideĀ theĀ Editors user group.

      5. Log in as editor. Create a folder inside Ibexa Digital Experience Platform, instead of publishing it, send it to Proofread stage and select admin user for review.

      6. Log in as admin and open folder for review. Use "Back to draft" option and select editor.

      Result
      The draft of folder is nowhere to be seen inside editor's nor admin's dashboard.

      Expected result
      The draft of folder is displayed in the edtior's dashboard.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: