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.
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.
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.
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
Model.Content.Path
I have republished site an rebuilt indexes with still no change.
Am stumped, any ideas? Cheers,
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.
I have double checked the cache and permission but is this also happening over 3 different environments
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.
is working on a reply...