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.
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.
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.
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
is working on a reply...