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

Save and Preview results in 404 error when page is not published #11975

Closed
robertjf opened this issue Feb 10, 2022 · 7 comments
Closed

Save and Preview results in 404 error when page is not published #11975

robertjf opened this issue Feb 10, 2022 · 7 comments
Labels

Comments

@robertjf
Copy link
Contributor

Which exact Umbraco version are you using? For example: 9.0.1 - don't just write v9

8.17.1 and 9.3.0-rc

Bug summary

When a page is unpublished, Save and Preview results in the following error message:

Page not found
No umbraco document matches the URL '/1598.aspx'.
This page can be replaced with a custom 404. Check the documentation for [Custom 404 Error Pages](https://our.umbraco.com/Documentation/Tutorials/Custom-Error-Pages/#404-errors).

This page is intentionally left ugly ;-)

Publishing the page restores the preview content.

This also affects Umbraco 9.3.0-rc

Specifics

No response

Steps to reproduce

  1. Create a new page and save without publishing.
  2. Save and Preview - get a 404 error page
  3. Publish the page and observe that the correct page is rendered in Save and Preview.

This is also the case if a previously published page is unpublished.

Expected result / actual result

Unpublished page should be previewable.

@BElluu
Copy link
Contributor

BElluu commented Feb 24, 2022

Hi @robertjf . I cannot reproduce this error in latest branch. Can you check if you are still have this error?

@robertjf
Copy link
Contributor Author

@BElluu I upgraded to Umbraco 8.18 and created a new page (not published) rather than unpublish an existing one with the same effect.

This is still an issue here.

@robertjf
Copy link
Contributor Author

closing this as I cannot replicate in a vanilla install on latest 8 or 9 versions.

@martijnbeumers
Copy link

martijnbeumers commented Mar 9, 2022

Pls open it up again. We experience the same issue on different v9 installs (Cloud and non-cloud).
@robertjf

@robertjf robertjf reopened this Mar 9, 2022
@robertjf
Copy link
Contributor Author

robertjf commented Mar 9, 2022

@martijnbeumers perhaps you could add some more detail? Umbraco version, custom plugins, etc.

@nul800sebastiaan
Copy link
Member

I'm going to be super annoying and close it again 😅

I can't reproduce the problem @martijnbeumers but maybe you see the screen at the end of this video??

11975.mp4

That would lead me to believe you have a cookie problem, if the preview cookie isn't there, you won't get the content preview.

As Robert suggests If you have steps to reproduce then we can reopen it, but it's hard to say anything useful if we can't reproduce it.

@GertyEngrie
Copy link
Contributor

@martijnbeumers using the block list? Found this issue because i have the same problem, but we're using the block list, might be the missing link?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants