Copied to clipboard

Flag this post as spam?

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


  • Dennis Morgan 11 posts 10 karma points
    Oct 09, 2009 @ 18:28
    Dennis Morgan
    0

    DocumentType.GetByAlias("aliasName") returns old documenttype version or even deleted?

    Has anyone run into this? I was using DocumentType.GetByAlias("aliasName") and ended up getting an older version of the document type. Doesn't this method, by default, get the latest version of a documenttype? Or could this be some kind of glitch? I even deleted the documenttype altogether in the umbraco admin and this was still grabbing the old version from the database. Right clicking on the parent node and creating the documenttype manually resulted in using the proper, most recent version of the documenttype.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 10, 2009 @ 00:23
    Aaron Powell
    0

    What do you mean by an old version? As far as I'm aware document types aren't versioned in Umbraco

Please Sign in or register to post replies

Write your reply to:

Draft