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

Draft preview displays wrong Version information

    XMLWordPrintable

Details

    Description

      When trying to access preview for a draft, the "Version information" section contains information about the last published version (instead of the draft that is being previewed). Additionally, the "Back to edit" and "Publish" buttons are disabled.
      The preview itself (the iframe) is correct (generated from the draft version).
      This issue happens when using ezsystems/ezpublish-legacy version 5.4.11. Version 5.4.10.1 doesn't have this issue.

      Steps to reproduce

      1. Create new eZ Publish installation.
      2. In the Legacy Admin, create a new Content Object and publish it.
      3. Edit the previously created Content Object. Click "Preview" under "Current draft" (which will correctly show a new draft version number).
      4. You will be presented with the correct preview. However, under "Version information" you will notice published version number instead of a new one. Also, the buttons "Back to edit" and "Publish" will be disabled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jacek.foremski-obsolete@ez.no Jacek Foremski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: