Copied to clipboard

Flag this post as spam?

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


  • Barry Fogarty 493 posts 1129 karma points
    Feb 24, 2012 @ 12:32
    Barry Fogarty
    0

    CurrentContent is null when using the nightly build

    I need to have the suppress DB sync feature for a current client project, as the project manager wants to be able to amend labels and descriptions of doctype properties.  I have dowloaded the source code from codeplex with the feature included:

    http://usitebuilder.codeplex.com/SourceControl/changeset/changes/85517

    I built the VS2010 project, copied the Vega.USiteBuilder.dll to my Umbraco site's bin folder, and added the web.config key as follows:

    <add key="siteBuilderSupressSynchronization" value="true" />

    When I run the site, 'CurrentContent' returns NULL on any masterpage that accesses this uSiteBuilder object.  THis behaviour does not happen when the siteBuilderSupressSynchronization key is false.  I have detailed the issue on codeplex here:

    http://usitebuilder.codeplex.com/workitem/17467

    I would have thought this is fairly fundamental, so maybe I am doing something wrong?  Do I need to include any other dependency for this version of uSiteBuilder?  Have I forgotten any steps other than what I have outlined above, to get the source-code version of uSiteBuilder to work with my project?

    I have other C# code in the same project, so my only other option (I think) if I cannot get this to work is to de-couple uSiteBuilder from my other project code so I can create a DLL without the uSiteBuilder functionality in it.

  • Barry Fogarty 493 posts 1129 karma points
    Feb 27, 2012 @ 13:51
    Barry Fogarty
    0

    ..bump - really need this feature, any update?

Please Sign in or register to post replies

Write your reply to:

Draft