My client created a page which was saved but not published but then showed in the navigation. It subsequently dissappeared but she sent a screen shot of the page which confirmed the item was showing.
I have checked the audit trail and the umbracoLog table and the page was not published.
I can't see any reason how a link to a never published page could appear in the cache.
Is it a link rendered from a rich text editor? Or are you using the url picker from the uComponents package? I think I can recall seeing this issue once a long time ago at my former work.
Hmm, do you see any related errors in the /App_Data/Logs folder?
I have seen this behavior before but struggling to think back what the issue and potential solution was. But I recall seeing some error messages in the log about it at least.
Just wondering if you had any ideas what this issue may be. We are still suffering it. One thing I've noticed is that it only seems to effect Razor generated and not XSLT generated navigation.
Umbraco 6.2.2 - Never published links showing
We have a load balanced Umbraco 6.2.2 site.
My client created a page which was saved but not published but then showed in the navigation. It subsequently dissappeared but she sent a screen shot of the page which confirmed the item was showing.
I have checked the audit trail and the umbracoLog table and the page was not published.
I can't see any reason how a link to a never published page could appear in the cache.
Hi Dan
Is it a link rendered from a rich text editor? Or are you using the url picker from the uComponents package? I think I can recall seeing this issue once a long time ago at my former work.
Looking forward to hear a bit more from you.
/Jan
No it's a link generated via a Razor macro.
Dan
Here are steps to reproduce the issue:
1. Create a page
2. Don't publish it
3. Nothing appears in menu, even after refresh
4. Preview it, and in preview it appears in the menu. At this point the page has only been created, not saved or published.
5. Refresh normal page and it appears in menu there too - even on non logged in browser
6. Publish and unpublish it disappears from mega menu.
The main point is that the page appears WITHOUT EVER BEING PUBLISHED, only previewed and it’s the preview that seems to be the trigger.
Hi Dan
Hmm, do you see any related errors in the /App_Data/Logs folder?
I have seen this behavior before but struggling to think back what the issue and potential solution was. But I recall seeing some error messages in the log about it at least.
/Jan
I can't see anything in the logs. I've replicated it myself but it doesn't happen every time these steps are followed.
Just wondering if you had any ideas what this issue may be. We are still suffering it. One thing I've noticed is that it only seems to effect Razor generated and not XSLT generated navigation.
Thanks
Dan
OK, i've worked it out. We had nested Razor macros. One macro called another using:
@Library.RenderMacro("myMacro", new { ChildPageId = @childPage.Id})
I moved the 2nd macro into the first and all works now. Still confused as to why this happened.
Thanks
Dan
is working on a reply...