Deleted content is coming in CurrentPage.Children()
I am using Umbraco 7.1.4 with my sql
CurrentPage.Children() function is also returning the deleted content. Even the data was deleted from the database.
After spending a lot time in Visual Studio while debuging I found "~/App_Data/umbraco.config" file.
umbraco.config had all the content in xml format, I deleted that nodes which i had already deleted from backoffice then CurrentPage.Children() function worked correctly.
This file is the cache file. It usually gets updated after publishing documents. It makes access to the data layer faster avoiding the need to query the database for every page access. Normally you wouldn't need to worry about updating the cache file. The pages you delete are you deleting these in the back office via the user interface?This would normally update the xml cache and if it is not updating there may be a problem. Are you sharing a database between several application servers (eg load balancing or several dev users) ? Where there is more than one web server per database it can cause changes to the database which do not trigger an update to the cache.
Deleted content is coming in CurrentPage.Children()
I am using Umbraco 7.1.4 with my sql
CurrentPage.Children() function is also returning the deleted content. Even the data was deleted from the database.
After spending a lot time in Visual Studio while debuging I found "~/App_Data/umbraco.config" file.
umbraco.config had all the content in xml format, I deleted that nodes which i had already deleted from backoffice then CurrentPage.Children() function worked correctly.
What is this issue?
This file is the cache file. It usually gets updated after publishing documents. It makes access to the data layer faster avoiding the need to query the database for every page access. Normally you wouldn't need to worry about updating the cache file. The pages you delete are you deleting these in the back office via the user interface?This would normally update the xml cache and if it is not updating there may be a problem. Are you sharing a database between several application servers (eg load balancing or several dev users) ? Where there is more than one web server per database it can cause changes to the database which do not trigger an update to the cache.
Thank, my issue is solved and the information is really helpfull for me.
You're very welcome, glad to be able to help and I hope you have many happy development days with Umbraco :)
is working on a reply...