Copied to clipboard

Flag this post as spam?

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


  • Michael Biggs 18 posts 98 karma points
    Dec 08, 2016 @ 15:02
    Michael Biggs
    0

    Model.Content.Path showing old path

    Hi Guys,

    So some code I have inherited uses Model.Content.Path, splits them and then loops through each value for a breadcrumb menu, except the path doesn't represent the path stored in the backoffice,

    Backoffice

    home - page
    

    Model.Content.Path

    home - page 2 - page 3 - page
    

    I have republished site an rebuilt indexes with still no change.

    Am stumped, any ideas? Cheers,

  • David Peck 690 posts 1896 karma points c-trib
    Dec 08, 2016 @ 21:50
    David Peck
    0

    You're sure that your cache has updated correctly, e.g. it has write permissions on App_Data? It's worth inspecting umbraco.config to see if it shows the new or old path.

    Also make sure your application pool is running from a single worker process as they each keep a separate in memory cache.

  • Michael Biggs 18 posts 98 karma points
    Dec 09, 2016 @ 13:32
    Michael Biggs
    0

    I have double checked the cache and permission but is this also happening over 3 different environments

  • David Peck 690 posts 1896 karma points c-trib
    Dec 09, 2016 @ 15:41
    David Peck
    0

    To troubleshoot, I guess you've got to work out what is not being updated. Is the database correct (check the umbracoNode table), and what about the umbraco.config file. The Path should be relatively easy to spot as a CSV starting -1.

Please Sign in or register to post replies

Write your reply to:

Draft