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

Preview causes redirect to versionview not being able to continue editing

    Details

      Description

      When creating content from the frontend, with legacy_mode: false using the preview button in Website toolbar will cause a redirect to versionview.


      Steps to reproduce:

      1. Log in to an eZ Demo based frontend, in order to create content
      2. Start creating a new article (first draft)
      3. Hit the preview button on the Website Toolbar (don't publish it yet)

      You will be redirected to versionview, and we will not be able to continue editing.
      Also, the Website Toolbar will not be displayed.

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          This is the exact same issue that EZP-24053, though not exactly the same use case.

          Show
          Jérôme Vieilledent (Inactive) added a comment - This is the exact same issue that EZP-24053 , though not exactly the same use case.
          Show
          Jérôme Vieilledent (Inactive) added a comment - PRs: https://github.com/ezsystems/ezpublish-kernel/pull/1216 https://github.com/ezsystems/LegacyBridge/pull/22
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in: ezpublish-kernel master: https://github.com/ezsystems/ezpublish-kernel/commit/7ebb250ce6eb35fbaeea7a76762f879ab70885c0 LegacyBridge master: https://github.com/ezsystems/LegacyBridge/commit/ea8cc37d9014189986cb3cd1f8757c00fe1d0850
          Hide
          Paulo Nunes (Inactive) added a comment - - edited

          @[~jerome.vieilledent@ez.no]
          The patches doesn't seem to solve the problem. Following the steps in description, when creating a new object (I used an article), the problem persists (tried in 5.3, 5.4 and master with same results)
          When editing an already existing content, the problem don't occur.

          Show
          Paulo Nunes (Inactive) added a comment - - edited @ [~jerome.vieilledent@ez.no] The patches doesn't seem to solve the problem. Following the steps in description, when creating a new object (I used an article), the problem persists (tried in 5.3, 5.4 and master with same results) When editing an already existing content, the problem don't occur.
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          OK my bad, I misunderstood the issue.
          This is a side effect of EZP-22823

          Show
          Jérôme Vieilledent (Inactive) added a comment - OK my bad, I misunderstood the issue. This is a side effect of EZP-22823
          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited New PR: https://github.com/ezsystems/LegacyBridge/pull/23 DemoBundle: https://github.com/ezsystems/DemoBundle/pull/148
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in: LegacyBridge master: https://github.com/ezsystems/LegacyBridge/commit/f2572ad3fd317fa9736a4be7b261344a64e69f82 DemoBundle master: https://github.com/ezsystems/DemoBundle/commit/a3d7e0797ca224ec54e49a5f2f4feefc0afac981
          Hide
          Paulo Silva (Inactive) added a comment -

          Tested and approved by QA.

          Show
          Paulo Silva (Inactive) added a comment - Tested and approved by QA.

            People

            • Assignee:
              Unassigned
              Reporter:
              Ricardo Correia (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m