Skip to content
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

Error when previewing before updating post #5634

Closed
boemedia opened this issue Mar 15, 2018 · 1 comment · Fixed by #5645
Closed

Error when previewing before updating post #5634

boemedia opened this issue Mar 15, 2018 · 1 comment · Fixed by #5645
Assignees
Labels
Browser Issues Issues or PRs that are related to browser specific problems [Type] Bug An existing feature does not function as intended

Comments

@boemedia
Copy link

Issue Overview

When you add content and try to preview the post, the preview screen keeps pending. After closing and trying to update the post after attempting to preview, you get an error.

Steps to Reproduce (for bugs)

  1. Add content to post
  2. Hit preview button
  3. Return to post
  4. Try to update post

Tested in Firefox 59.0 (64-bits) on a Macbook pro, with Astra theme installed.

Expected Behavior

I expected the post to auto-save when hitting preview.

Current Behavior

The preview is not working and initially, there's no error message. On returning to the editor, it's unclear what to do. Trying to save at this stage, gives an unexpected error.

Possible Solution

Make the post autosave before preview or if it can't auto save, it should give a warning message to manually save before previewing.

Screenshots / Video

See this video: https://cl.ly/2s0q0M0X3i02

@aduth aduth self-assigned this Mar 15, 2018
@aduth aduth added [Type] Bug An existing feature does not function as intended Browser Issues Issues or PRs that are related to browser specific problems labels Mar 15, 2018
@aduth
Copy link
Member

aduth commented Mar 15, 2018

Thanks for the report.

The published post preview is known to not be implemented yet, tracked separately at #2544

The crash is certainly a nasty one. From debugging, this appears to impact Firefox specifically, after previewing a post, closing the preview window, then continuing to save the post. This should be fixed in #5645.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Browser Issues Issues or PRs that are related to browser specific problems [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants