Copied to clipboard

Flag this post as spam?

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


  • Jonathan Hart 32 posts 51 karma points
    Mar 05, 2014 @ 22:50
    Jonathan Hart
    0

    uBlogsy v 1.32 Sort order

    Hi all,

     

    Recently, the blog's sort order has gone from descending to ascending, pushing old articles to the top.  I have attempted to fix this by sorting the blog articles nodes in the back office.  It seems to work for a bit, but ultimately reverts itself back to the incorrect order.

    I cannot find any type of configuration settings file in any config folders.  Can someone please point me in the right direction?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 07, 2014 @ 10:04
    Anthony Dang
    0

    So when you create a node, it goes to the top?

    What version of umbraco are you on?

     

  • Jonathan Hart 32 posts 51 karma points
    Mar 07, 2014 @ 17:09
    Jonathan Hart
    0

    No, the nodes remain sorted correctly in the back office, but appear out of order on the public site.  It is umbraco 4.7.0.  It seems to be at least once a day they lose their order on the front end, but the sort order is maintained in the backoffice.  However, despite the order showing correctly in the backoffice, I click "Sort" anyways, and that seems to correct it temporarily on the front end.

    I've noticed recently in the logs a high volume of errors adding URLs to the SiteMapProvider. I have disables the sitemap provider in web.config to see what happens.

     

    Error adding to SiteMapProvider: System.Web.HttpException (0x80004005): http://mywebsite/Blog/MyArticle is not a valid virtual path.     at System.Web.Util.UrlPath.CheckValidVirtualPath(String path)     at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative)     at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode)     at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)

  • Jonathan Hart 32 posts 51 karma points
    Mar 11, 2014 @ 15:42
    Jonathan Hart
    0

    Hi Anthony,

    Any update on this?  I've found that recycling the app pool corrects the problem temporarily.  It seems to happen at the same time every day.  I don't know if that helps.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 14, 2014 @ 22:57
    Anthony Dang
    0

    It shouldnt have anything to do with the sitemap provider.

    The node helper has this line which should always work:

    return nodes.Where(x => x.NodeTypeAlias =="uBlogsyPost").OrderByDescending(x => x.GetProperty("uBlogsyPostDate").Value);

    Perhaps there is something corrupted with your umbraco cache. Try stopping your app, and delete umbraco.config.
  • 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