Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 02, 2009 @ 13:51
    Simon Dingley
    0

    Content node(s) that seem to unpublish themselves

    Umbraco Version: 4.0.2.1  - ASP.Net 3.5 on Windows Server

    I have a client site that has a problem with a couple of nodes in the tree that seem to unpublish themselves. The Link to document data disappears and the node also disappears from any of the pages that were displaying links to the document via XSLT. The Publication Status data remains correct with the last publish date however the page gives a 404 error shortly after publishing and the Link to document data also disappears!?

    Shortly after publishing the following appears inthe logs if it helps:

    221702 0 -1 02/09/2009 12:45:48 Debug Xml saved in 00:00:00.0227428
    221701 0 -1 02/09/2009 12:45:47 Debug Cloning ended...
    221700 0 -1 02/09/2009 12:45:47 Debug Cloning...
    221699 0 -1 02/09/2009 12:45:47 NotFound 404 (from 'http://www.example.com/branches/south-east/events/2009/networking-breakfast--london.aspx')
    221698 0 -1 02/09/2009 12:45:45 NotFound branches/south-east/events/2009/networking-breakfast--london.aspx (from '')

    Any help or guidance would be very much appreciated.

    Thanks

  • ben_a 65 posts 123 karma points
    Sep 02, 2009 @ 14:49
    ben_a
    0

    It sounds like a permissions problem. I believe this behavior could happen if the cache file (umbraco.config) cannot be written to the /data/ directory in your site.

     

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 02, 2009 @ 15:24
    Simon Dingley
    0

    I initially thought that however all other nodes seems to work fine and the site has been running for some months with no change in any settings on the server. I think I have just found the cause and it relates to the fact that the parent node had an unpublish date set that had expired, however, is this a bug? Should an unpublished parent cause a child node to unpublish itself also?

  • ben_a 65 posts 123 karma points
    Sep 02, 2009 @ 16:25
    ben_a
    0

    It would seem like desired behavior to me. I don't know how you can have child nodes that are orphaned from the rest of the tree. I understand it if a parent node is "hidden", but not unpublished. There would be a break in the XML tree that could not be reconciled.

    If the desired effect was to hide the parent, you should use the "umbracoNaviHide" field boolean in your template and check for it in your XSLT.

     

     

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 04, 2009 @ 16:29
    Simon Dingley
    0

    Point taken, thanks for the explanation

Please Sign in or register to post replies

Write your reply to:

Draft