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

Version changes its status when switching previews between different versions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Studio UI
    • Labels:

      Description

      Version changes its status when switching previews between different versions.

      Steps:
      As admin.
      1. Go to Places & Tastes (one version exists in Published status).
      2. Switch to Edit mode.
      3. Add a block (to be able to identify the version).
      4. Save the draft ('Save draft' button).
      5. Return to View mode.
      6. Check the Versions pop-up (2 versions: Published, Draft; both owned by admin).
      7. Repeat steps 2-5.
      8. Check the Versions pop-up (3 versions: Published, Draft, Draft; all owned by admin).
      9. Log out
      As other user e.g. Anil.
      10. Go to Places & Tastes.
      11. Check the Versions pop-up (state is as in step 8) [screenshot 1]

      {side: 'Viewing' label is missing: EZS-727}

      12. Switch to Edit mode.
      13. Add a block (to be able to identify the version).
      14. Save the draft.
      15. Return to View mode.
      16. Check the Versions pop-up (4 versions: Published, Draft, Draft; 3 owned by admin; and Draft owned by Anil). [screenshot 2]
      17?. From Versions pop-up preview the draft from Anil.
      18?. Check the Versions pop-up (state same as in step 16)
      19?. Preview the published version from admin.
      20. From Versions pop-up edit the draft from Anil.
      21. Return to View mode.
      22. From Versions pop-up preview the draft from Anil.
      23. From Versions pop-up preview the published version from admin.
      24. Check the Versions pop-up.
      Actual: Anil now owns the Published version. [screenshot 3]
      Expected: Published version is still owned by admin.

      Remarks: Probably not all steps in this flow are mandatory, it's tricky to narrow it down.

      1. EZS-728 1.png
        259 kB
      2. EZS-728 2.png
        272 kB
      3. EZS-728 3.png
        272 kB

        Issue Links

          Activity

          Hide
          Piotr Nalepa added a comment -
          Show
          Piotr Nalepa added a comment - Will be fixed within this PR: https://github.com/ezsystems/StudioUIBundle/pull/537
          Show
          Piotr Nalepa added a comment - Fixed in merge: https://github.com/ezsystems/StudioUIBundle/commit/1775e4f440b08946f74f54d2c46b8c6a1d40a1ec

            People

            • Assignee:
              Unassigned
              Reporter:
              Michał Szołtysek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: