Copied to clipboard

Flag this post as spam?

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


  • Alin Parjolea 7 posts 27 karma points
    Feb 10, 2010 @ 12:32
    Alin Parjolea
    0

    Nodes not visible after publish

    Hej all,

    Very interesting problem i got here. I have a node "x" which is generating a page by gathering some info from the database. and i can nicely see that page. I had moved that node to another folder in Umbraco and then i couldnt see the page that node created. It gave me the 404 error. I did the moving with the following  code:

     

     

    currentNode.Move(node.Id);

    currentNode.Publish(user);

     

    umbraco.library.PublishSingleNode(currentNode.Id);

    syncDatabase();

    When i commented teh third line after the movement of that node i could see the page is generating. problem is that the old nodes still are not visible. i mean the pages they generate. so question is.. what can i do to fix that? Republishing the parent node does not work btw.

    <alin/>

     

     

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Feb 10, 2010 @ 13:26
    Thomas Höhler
    3

    PublishSingleNode is deprecated use umbraco.library.UpdateDocumentCache(ID) instead

    hth, Thomas

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies