Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 631 posts 1018 karma points
    Dec 16, 2014 @ 17:33
    Dan Evans
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 16, 2014 @ 21:48
    Jan Skovgaard
    0

    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

  • Dan Evans 631 posts 1018 karma points
    Dec 16, 2014 @ 22:25
    Dan Evans
    0

    No it's a link generated via a Razor macro.

    Dan

  • Dan Evans 631 posts 1018 karma points
    Dec 19, 2014 @ 02:43
    Dan Evans
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 19, 2014 @ 06:39
    Jan Skovgaard
    0

    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

  • Dan Evans 631 posts 1018 karma points
    Dec 19, 2014 @ 10:05
    Dan Evans
    0

    I can't see anything in the logs. I've replicated it myself but it doesn't happen every time these steps are followed. 

  • Dan Evans 631 posts 1018 karma points
    Jan 13, 2015 @ 13:22
    Dan Evans
    0

    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

  • Dan Evans 631 posts 1018 karma points
    Jan 13, 2015 @ 13:44
    Dan Evans
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft