Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21429

[Admin Interface] Cancel button for drafts (exit without save)

    Details

      Description

      When editing a publish object the "Discard Draft" work as expected,
      however if we're re-editing a draft, the "Discard Draft" might not be always what it is intended,
      if we edit a draft and don't want to make the changes to the draft there is no button to exit without save changes, only "Store and Exit" and "Discard Draft"

      From my searches I've not found a mention on this, but I think this might be useful

      Steps to reproduce:
      1 - Create an article
      2 - Fill data:
        - Title: "First Draft"
        - Intro: "This is a existing draft"
      3 - Click at [Store Draft and Exit]
      4 - Go to dashboard
      5 - Edit draft: "First Draft"
      6 - Verify that you're editing "Version 1"
       
      ( case A )
      7 - Edit data:
        - Title: "Second draft"
        - Intro: "This article will be saved as second"
      8 - Click at [Store draft and exit]
      9 - Go to dashboard
      10- Verify that there is no "First Draft"
      11- Edit draft: "Second Draft"
      12- Verify that you're still editing "Version 1"
       
      ( case B )
      7 - Edit data:
        - Title: "Second draft"
        - Intro: "This article will be saved as second"
      8 - Click at [Discard Draft]
      9 - Go to Dashboard
      10- Verify that there is no draft
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcos Loureiro (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: