the list is empty even though I can see that my pages are published and saved in the umbraco backoffice.
For some reason when I'm logged in and the UMB_UCONTEXT cookie is set the page is not published properly because when I manually go to the page and savepublish it it appears. And if I clear the cookie and reload same thing happens and the list is working as inteaded.
I've done some experimenting about this and it seems that using the publish method or what ever method calling the publish method like SaveAndPublishWithStatus and so on does not publish content properly.
I've tried updating the Xml cache manually after creating, I've tried republishing the entire site aswell but same result.
When I call GetChildren from Services.ContentService the list is populated with all IContent objects, even those that are not shown, but those pages created while being logged in returns null. They are not properly published for some reason. They appear published but they arn't.
Issue getting created content from Node with Children and GetChildren.
I have an application running Umbraco v7.5.11 where I, through a BeginUmbracoForm create a page under a certain Node.
My issue is: when I list these created pages in my view like so:
the list is empty even though I can see that my pages are published and saved in the umbraco backoffice.
For some reason when I'm logged in and the UMB_UCONTEXT cookie is set the page is not published properly because when I manually go to the page and savepublish it it appears. And if I clear the cookie and reload same thing happens and the list is working as inteaded.
I've done some experimenting about this and it seems that using the publish method or what ever method calling the publish method like SaveAndPublishWithStatus and so on does not publish content properly.
I've tried updating the Xml cache manually after creating, I've tried republishing the entire site aswell but same result.
When I call GetChildren from Services.ContentService the list is populated with all IContent objects, even those that are not shown, but those pages created while being logged in returns null. They are not properly published for some reason. They appear published but they arn't.
Anyone else having this issue?
is working on a reply...