Problem

When editing a node, the "Preview" buttton is not working with 11.2.x - it redirects to the current page or destination parameter. It should redirect to the frontend preview.

CommentFileSizeAuthor
#8 131.patch3.71 KBfago
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

turns out, we overwriting the ::preview submit handler, what seems fragile. Instead of replacing the logic, we should append it. Create MR.

fago’s picture

I successfully tested this also works in a Drupal 10 install.

  • fago committed 65c9d0c9 on 1.x
    fix: #3557148 Node preview does not work with Drupal 11.2
    
    By: @fago
    
fago’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

fago’s picture

StatusFileSize
new3.71 KB

Adding patch for usage with composer patches also.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.