Copied to clipboard

Flag this post as spam?

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


  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Jan 31, 2012 @ 19:49
    Tim
    0

    Possible Bug?

    I've just had a very wierd issue with razor in 4.7.1.1. I have a DocType, with the alias of "SettingsGlobalContacts". That has an allowed child DocType of "SettingsGlobalContact". If I try and query the children using Razor, there's always 0, even though there are 42 nodes listed as published under it in the back office. I republished the site, republished the nodes, even reset IIS to clear the app pool, all with no effect.

    After an hour of pulling my hair out (all other DocTypes return the right number of child nodes), I tried changing the child DocType alias to "SettingsGlobalContactItem" and republish them all. Bingo, 42 child nodes. Change it back to the old alias, and it still worked.

    I tried re-publishing the nodes before and it never worked. So I'm not sure why renaming the docType would force it to work.

Please Sign in or register to post replies

Write your reply to:

Draft