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

Gutenlypso: Previewing first version of Saved Draft causes a 404 #29324

Closed
serabi opened this issue Dec 11, 2018 · 15 comments
Closed

Gutenlypso: Previewing first version of Saved Draft causes a 404 #29324

serabi opened this issue Dec 11, 2018 · 15 comments
Labels
[Closed] Not Reproducible Issue cannot be reproduced. [Goal] Gutenberg Working towards full integration with Gutenberg [Pri] Normal Schedule for the next available opportuinity. [Status] Stale [Type] Bug When a feature is broken and / or not performing as intended

Comments

@serabi
Copy link

serabi commented Dec 11, 2018

Steps to reproduce

  1. Starting at URL: wendiloulee.com
  2. Create a new post, save it as draft
  3. Click "Preview"

What I expected

To see a preview of the post.

What happened instead

Preview tried to open https://wendiloulee.com/?p=1009 Got a 404 error.

Then, after adding more content to the post and clicking Save Draft again, if you click Preview, Preview instead loads https://wendiloulee.com/?p=1009&preview=true and displays a preview of the draft post.

(h/t to @andrewspittle for discovering this workaround. See p1544556790659900-slack-livechat.

Browser / OS version

Google Chrome, 71.0.3578.80. Mac OS High Sierra.

Screenshot / Video

404 error:

404 error

After updating and clicking Save Draft again:

no 404 error

@retnonindya
Copy link

retnonindya commented Dec 12, 2018

Got a report from a user with similar issue (error preview page whenever they want to edit and preview their post). I couldn't replicate the problem, though, so I'm confused in this issue.

#8758316-hc and 1639835-zen

@alisterscott alisterscott added the [Goal] Gutenberg Working towards full integration with Gutenberg label Dec 12, 2018
@arunsathiya arunsathiya added [Type] Bug When a feature is broken and / or not performing as intended [Pri] Normal Schedule for the next available opportuinity. labels Jan 10, 2019
@arunsathiya
Copy link
Contributor

Looks like this issue was slipped earlier with no proper labels or project. I have added them now.

I am also marking this with normal priority, as there have been a few reports about this and does not affect a single user. Please feel free to update priority as fit.

@julsyd
Copy link

julsyd commented Jan 10, 2019

Also reported here: #30090

@arunsathiya
Copy link
Contributor

Just a note that this does not feel to be reproducible consistently. For example, when I tested today evening, I was not able to see a 404 on a simple site and a AT site.

There are also times when the preview shows a 404 for a brief second before showing the expected preview.

@arunsathiya
Copy link
Contributor

On a larger note, could this be related to core issue WordPress/gutenberg#13232?

@kristarella
Copy link

@arunsathiya yep, I think it is, I have been following that one and the symptoms are the same

@formosattic
Copy link

formosattic commented Mar 1, 2019

Potentially related to this case p2EDhh-Gh-p2.
Only getting "Oops! That page cannot be found." message with Safari and posts in Draft mode.

@tavilla61
Copy link

One more site with this same issue happening only in Safari:

-- https://chiiky.co.uk/
-- #10965754-hc
-- I was able to replicate the issue in Safari, but preview worked fine in Chrome. In Safari, it says "generating preview" and opens the site in a new tab. User said it sometimes also says "oops, page not found" but I didn't see that when testing.

@pauloeaquino
Copy link

Similar issue in 9429085-HC. Followup in 1859108-ZD.

Steps to produce: Edit page -> click Preview -> changes don't appear

@codebykat
Copy link
Member

The underlying implementation has changed since this was reported, and I can't reproduce it now. Please feel free to re-open if we get any new reports!

@kylemcph
Copy link

kylemcph commented Apr 3, 2019

Found another instance of this. When previewing already published posts, they are displayed as expected.

When previewing a draft, a 404 - Page Not Found error is thrown.

Was only able to reproduce on Safari Version 12.0.3 (14606.4.5). Both Firefox and Google Chrome previewed draft as expected.

  • Site: janabouc.com
  • #1933939-zen

@kosiew
Copy link

kosiew commented Mar 11, 2020

Found similar issue.
#2781436-zen

Preview for draft fails for Safari, works for Chrome.
Reproduced on
Safari
Version 13.0.5 (14608.5.12)

@kosiew kosiew reopened this Mar 11, 2020
@susanjanec
Copy link

susanjanec commented Mar 18, 2020

User reported issue here - 2794588-zen

User mentioned using Safari and Firefox.

When trying to reproduce on my end in both Safari and Firefox, when previewing the page for an unpublished post through the edit page, the preview shows the 404 page for a second, then loads the content.

Works in Chrome as expected.

ETA: User also reports this started happening after upgrading to the Premium plan 3 weeks ago.

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been marked as stale and will be closed in seven days. This happened because:

  • It has been inactive in the past 9 months.
  • It isn't a project or a milestone, and hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, `[Status] Keep Open`, or `OSS Citizen`.

You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Dec 25, 2020
@worldomonation
Copy link
Contributor

Hi! I'm performing triage on older bugs as part of Quality Squad's efforts to cut down on backlog issue counts.

I was not able to reproduce this issue on both Atomic and Simple sites:

Screen.Recording.2021-02-16.at.2.13.04.PM.mov

Steps:

  1. create a new post.
  2. enter post title.
  3. save draft.
  4. click on Preview.

Preview rendered as expected on both Simple and Atomic sites.

As this issue appears to be non-reproducible, it is being closed with the label Closed - Not Reproducible.
If this issue should remain open, please feel free to re-open this bug.

@worldomonation worldomonation added the [Closed] Not Reproducible Issue cannot be reproduced. label Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Closed] Not Reproducible Issue cannot be reproduced. [Goal] Gutenberg Working towards full integration with Gutenberg [Pri] Normal Schedule for the next available opportuinity. [Status] Stale [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests