New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post Preview modal no longer loading #54018
Comments
Possibly related ticket zd-4094204 |
Here's another case User report: 30098471-hc |
Another ticket: 4094525-zen |
Possibly another one here: 4094244-zen |
I believe #4097705-zen is related to this. I had an additional report as well before realizing this was the issue that I'll add if/when I find it. In my testing the modal loads but the preview also opens in a new tab on the first attempt. In this case the user is seeing Page Not Found in the window that opens. Maybe a third-party cookie issue where they're not logged into the site that our change to logins to custom domains might help? |
#4097787-zen |
4098156-zen |
Similar report here, they got a page not found when previewing a scheduled post. #2347495-hc |
The "page not found" seems to be transitory (at least the time I saw it); "page not found" would flash, then the correct post would load. |
I'm labelling this as "normal" because it's an obviously broken WP.com experience, but it has reverted to WP core behaviour of opening in a new tab (which works most of the time?). There are no recent ETK, wpcom-block-editor, or Calypso changes that would seem to account for it. |
4097219-zd-woothemes EDIT: This seems to be an issue for posts in Draft, as I'm able to preview Published posts without an issue. Also, if I select Preview from the "three dots" menu from the Posts page, I can preview the post without issue. |
I have created three how-to-videos to show how a user can use the responsive design mode in Safari, Chrome, Firefox as a workaround while this is being fixed. Safari How-to-Video - https://d.pr/i/44ySht Chrome How-to-Video- https://d.pr/i/fPArfd Firefox How-to-Video- https://d.pr/i/td6SVJ |
Another report of this in 4099282-zen seeing the "page can't be found" report. I'll gather more details before providing how-to guides. |
This is what I found when debugging this: Natively, the
That exception is thrown in the Calypso iframe is supposed to override the native method by registering its own click handler for But although the Calypso handler is registered, it never runs. I suspect it's because the order in which they are registered was reversed recently. Both are on the same element: the Why is the order reversed? Because Gutenberg upgraded from React 16 to React 17 two weeks ago in WordPress/gutenberg#29118. And that major version changed where React attaches its event handlers. The native |
possibly related zen-4094525 |
I've just deployed #54127 that fixes this issue, so I'm closing it. |
Can confirm it works for me now. |
Found a ticket that seems related. 5413341-zen User is reports being redirected to a page not found when previewing a draft post. Customer using:
|
In reply to @jtobiesen's comment above, it seems that the issue from that user specifically is related to this other GH thread instead: #57812 |
We have noticed that Calypso's modal is no longer loading. Instead, users are taking to a preview in the "front end" (as if they were using the WP-Admin editor instead), for instance:
https://example.wordpress.com/?p=1234&preview=true
Screen.Recording.on.2021-06-25.at.11_23_25.mp4
Is this intended, or is it a regression?
The text was updated successfully, but these errors were encountered: