well ok, the node does exist (says api) but the document does not. In fact searching the datebase:
select*from umbraconode where id=2097 select*from cmsdocument where nodeId =2097 select*from cmsContent where nodeId=2097 select*from cmsPropertyData where contentNodeId=2097
returns nothing.
I tried:
- republish entire site - reindex.aspx - publish (inc children and unpublished children)
all no result.
What am I trying to do: If somewhere on the site (featuring vakantion parks) a new park is published, on another section, under the correct country, the region must be created. I use the before publis eventhandler.
- list "region" documents under "country" - if region is not there, create it.
Now in this case, ChildrenAsTable returns a set of nodes with one node that I cannot see in the umbraco backend tree structure. And further on in the code I have to do something whith the found node so I ned to load the document. An error sas it does not exist. I can load it as node (var n=new node(2097)) however...
parentNode.ChildrenAsTable(childType) returns non existing nodes
well ok, the node does exist (says api) but the document does not. In fact searching the datebase:
select * from umbraconode where id=2097
select* from cmsdocument where nodeId =2097
select* from cmsContent where nodeId=2097
select* from cmsPropertyData where contentNodeId=2097
returns nothing.
I tried:
- republish entire site
- reindex.aspx
- publish (inc children and unpublished children)
all no result.
What am I trying to do: If somewhere on the site (featuring vakantion parks) a new park is published, on another section, under the correct country, the region must be created. I use the before publis eventhandler.
- list "region" documents under "country"
- if region is not there, create it.
Now in this case, ChildrenAsTable returns a set of nodes with one node that I cannot see in the umbraco backend tree structure. And further on in the code I have to do something whith the found node so I ned to load the document. An error sas it does not exist. I can load it as node (var n=new node(2097)) however...
wtf?!
is working on a reply...