I'm running into a very strange issue when trying to preview content.
Essentially, I cannot preview content until that content has been published.
Until it is published, trying to preview results in the following:
Page not found
No umbraco document matches the url '/1333.aspx'.
This page can be replaced with a custom 404. Check the documentation
for "custom 404".
This page is intentionally left ugly ;-)
My initial thoughts were that my document type was too complex and was causing some issues with the Preview functionality. So I created a completely blank Document Type, created a new content node of that Document Type, saved it and tried to preview it. Same issue as above. Only after Publishing could I actually preview it in the assigned template.
Has anybody else experienced this?
I'm running Umbraco v7.4.2
I didn't know this was still an issue but used to have this historically that you were unable to preview a page unless it had been published at least once first. If you publish it, make changes and then preview I'm assuming it works as expected?
Hi Simon. Interestingly no. I only see updates in the preview if I make changes and republish. It's like the preview is somehow only displaying the latest published version - which to me seems to defeat the purpose of a preview?
I recommend you add it to the issue tracker if there isn't already a record of it. This does sound remarkably like the issue I used to see in that there had to be a published version of the page first in order to be able preview it.
To satisfy my own curiosity I just did a fresh install of v7.5.3 via the following steps (below) and did not see this issue I'm afraid but have seen it in older versions.
New ASP.Net MVC Empty Project
install-package UmbracoCms
Debug > Start debugging
Run through installer wizard (no starter kit)
Create doctype "Homepage"
Create tab "Content" add new property "Page Title" as Textstring datatype and "Allow as root"
Create new Homepage content item called "Home" with Page Title property "Home"
Cannot Preview Unpublished Content
Hi everyone,
I'm running into a very strange issue when trying to preview content. Essentially, I cannot preview content until that content has been published.
Until it is published, trying to preview results in the following:
My initial thoughts were that my document type was too complex and was causing some issues with the Preview functionality. So I created a completely blank Document Type, created a new content node of that Document Type, saved it and tried to preview it. Same issue as above. Only after Publishing could I actually preview it in the assigned template.
Has anybody else experienced this? I'm running Umbraco v7.4.2
Thanks
I didn't know this was still an issue but used to have this historically that you were unable to preview a page unless it had been published at least once first. If you publish it, make changes and then preview I'm assuming it works as expected?
Simon
Hi Simon. Interestingly no. I only see updates in the preview if I make changes and republish. It's like the preview is somehow only displaying the latest published version - which to me seems to defeat the purpose of a preview?
Have you checked your log file to see if there is anything of relevance in there?
Do you have anything in your
~/App_Data/preview/
directory?Hi Simon,
Checked the logs and tried clearing the ~/App_Data/preview folder to no avail.
I've also managed to successfully replicate this "bug" on a completely different Umbraco site.
Recreation steps are:
I recommend you add it to the issue tracker if there isn't already a record of it. This does sound remarkably like the issue I used to see in that there had to be a published version of the page first in order to be able preview it.
Thanks, I've raised an issue here: http://issues.umbraco.org/issue/U4-9081
Hi Tom,
To satisfy my own curiosity I just did a fresh install of v7.5.3 via the following steps (below) and did not see this issue I'm afraid but have seen it in older versions.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.