Copied to clipboard

Flag this post as spam?

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


  • Den Gordo 29 posts 49 karma points
    Jan 31, 2013 @ 17:57
    Den Gordo
    0

    It sorts everything within the rootXpath when docTypeAlias is defined

    Hi,

    The problem is that is sorts all nodes within the rootXpath node even doc types which are not set in docTypeAlias.

    My config is:

    <add docTypeAlias="BloggerProfile" field="nodeName" type="Alpha" 
    order="Asc" rootXpath="//ContainerBloggers[@isDoc]" 
    disableTreeRefresh="false"/>

    And my content structure is:

    Bloggers [ContainerBloggers]
    - Anna [BloggerProfile]
    - Billy [BloggerProfile]
    - James [BloggerProfile]
    - Archived [BloggersArchivedContainer]
    - - Alex [BloggerProfile]

    When I publish any of the Bloggers (except those in Archived) it sorts everything even Archived which is different doc type and I'm getting that structure:

    - Anna [BloggerProfile]
    - Archived [BloggersArchivedContainer]
    - - Alex [BloggerProfile]
    - Billy [BloggerProfile]
    - James [BloggerProfile]

    Is it a bug or I'm doing something wrong? I have the latest package version 1.3.0 and Umbraco v 4.7.2 on IIS 7.5.

    P.S. I've double checked my config for any duplicates for the same rootXpath.

    Regards,
    Den

Please Sign in or register to post replies

Write your reply to:

Draft