Copied to clipboard

Flag this post as spam?

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


  • Connie DeCinko 931 posts 1160 karma points
    Jan 26, 2011 @ 18:52
    Connie DeCinko
    0

    Sort Issues Update

    I've identified two issues that are currently causing grief with my document auto sorting.

    1.  If you have a "Remove at" date specified for any of your content, sorting does not work, fails miserably, causing your content nodes to not renumber correctly and duplicate sort order values.  This is apparently a known bug and I am unable to find if it is addressed in 4.6.

    2.  With Umbraco 4.5.2, specifying a config value of rootXpath="//node[@isDoc]" causes content to not sort.  Perhaps this is an incorrect format for the new schema?  If I remove that, documents sort, but the entire site is searched.

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 14, 2011 @ 16:44
    Tom Fulton
    0

    Hi Connie,

    1.  I did some checking on this and it looks to be fixed in 4.6.1.  In 4.5.2 the Remove At feature wasn't fully unpublishing the document - it was removed from the cache but its .Published flag was still set to true, which caused an exception in Umbraco's sorting function.  I tested in 4.6.1 and it appears to be working properly and can see the code change that addresses this.

    2.  The correct Xpath for 4.5 should be:  //Home[@isDoc]   (Home being the nodeTypeAlias).  The example on the project page is showing the old schema syntax but I'll get this updated.

    Thanks,
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft