Copied to clipboard

Flag this post as spam?

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


  • Murray Roke 503 posts 966 karma points c-trib
    Oct 31, 2011 @ 23:04
    Murray Roke
    1

    Disable DocTypeUpdate for deployemnt oops

    I was thinking it would be all too possible for someone to deploy a uSiteBuilder site to production without realising they need to manually create a data-type.

    I just tested this on my dev box.

    you get an exception on any page something like: 

    Property 'DocTypeAlias.PropertyAlias' is set as 'Other' umbraco data type ('My Funky Datatype') but data type 'My Funky Datatype' cannot be found in Umbraco.

    Normally we can roll back the deployment (but it may be less time consuming to disable uSiteBuilder just long enough to jump in and create the data type manually) or is there another neat way to do this?
  • Vladan Ostojic 94 posts 210 karma points
    Nov 01, 2011 @ 23:47
    Vladan Ostojic
    1

    Hi Murray,

    We are actually building that option. For now, you can just remove dll with your document types and put it back when you create your funky datatype.

  • Murray Roke 503 posts 966 karma points c-trib
    Nov 03, 2011 @ 09:57
    Murray Roke
    0

    That's awesome, I assume the 'option' would also give a faster load time when the app starts too, so people could just enable it when making deployments.

  • Vladan Ostojic 94 posts 210 karma points
    Nov 03, 2011 @ 10:22
    Vladan Ostojic
    0

    Yes that's right.

  • Olie 11 posts 52 karma points
    Nov 10, 2011 @ 23:40
    Olie
    0

    Hi,

    I'm thinking about creating an extension to your USiteBuilder that would allow the deployment of DataTypes. Does anyone know if Sasa Popovic is currently building this or know of anyone else that will be building this functionality? I will submit my code so that it can be compiled it into the core of USiteBuilder.


    Cheers,
    Olie

  • Sasa Popovic 77 posts 367 karma points
    Nov 11, 2011 @ 08:54
    Sasa Popovic
    0

    Hi Olie,

    We are not building support for DataTypes although we planned to do it in future.

    If you already have a good idea on how to do it then feel free to do it and share it with us. We will then check it out and if all looks (and works) fine then we will add it to the core of uSiteBuilder.

    Btw, I'm only one of the people from Vega IT Sourcing who works on uSiteBuilder; Vladan Ostojic is the person who should get most of the credits but there are other people as well.

    Regards,
    Sasa

  • Murray Roke 503 posts 966 karma points c-trib
    Mar 19, 2012 @ 22:20
    Murray Roke
    0

    @Vladan has this feature been added?, we're considering putting DocTypes in a separate DLL, but if we can disable the DocType migration on startup then we don't need to do that. 

    Cheers.

    Murray.

  • Vladan Ostojic 94 posts 210 karma points
    Mar 23, 2012 @ 13:55
    Vladan Ostojic
    0

    Hi Murray, this feature is added (and committed to the code repository on code plex)  but it is not working correctly yet.

Please Sign in or register to post replies

Write your reply to:

Draft