Copied to clipboard

Flag this post as spam?

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


  • RolandWolters 42 posts 63 karma points
    Jul 05, 2010 @ 14:20
    RolandWolters
    0

    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?!

     

     

Please Sign in or register to post replies

Write your reply to:

Draft