Umbraco 4.11 update

Wednesday, November 28, 2012 by Sebastiaan Janssen


Since the 4.11.0 release just 5 days ago, we discovered two bugs that warrant a patch release to get them fixed as soon as possible:

  1. In 4.11.0 a few issues around managing hostnames cropped up, these have been fixed now (mainly: the new "wildcard" domain support and scenario's where people don't use actual hostnames).
  2. In 4.11.0, we introduced a different way of caching some Umbraco internals. This mainly affected the trees, media section and razor macros. Unfortunately, sometimes Umbraco generated an incomplete cache for you. This has now been fixed.

We've also added some missing translations and an issue where the layout was set incorrectly is now also fixed.

The new version is out on CodePlex and easy to upgrade to if you're coming from 4.11.0. There's a seperate patch file that includes only the changed files, just drop them into your existing Umbraco 4.11.0 site and you'll get the upgrade wizard (the only thing it'll do is set the new version number).

The full list of fixes can be found on the issue tracker.

11 comment(s) for “Umbraco 4.11 update”

  1. Gravatar ImageAsbjørn Riis-Knudsen Says:

    Great job on this small update! I was just about to implement my first multi-lingual site in Umbraco and I ran into a few issues in 4.11.0 - only to discover that you had just released a fix. Now that is good timing!

  2. Gravatar ImageTom Says:

    Post upgrading to 4.11 now running this in a razor view blows up:
    !string.IsNullOrEmpty(Model.Content.GetPropertyValue("metaKeywords"))


    any idea what best practice would be to get this working.

  3. Gravatar ImageShannon Deminick Says:

    @Tom, the GetPropertyValue method signature has changed to return 'object' instead of string so that we can utilize the IPropertyEditorValueConverter correctly. You'll either need to cast the result to string or use the strongly typed accessor like:

    GetPropertyValue("metaKeywords").ToString() OR
    GetPropertyValue("metaKeywords") OR
    since you know it is going to be string for this property editor:
    (string)GetPropertyValue("metaKeywords")

  4. Gravatar ImageDan White Says:

    @shannon, I'm a bit confused. When I do:

    @Model.Content.GetPropertyValue("headline").GetType()

    It returns System.String. But, like you say, I need to cast it in order to perform string operations. I'm a bit of a .Net noob, but how/why does GetType return System.String when it's an Object?

  5. Gravatar ImageMatt Says:

    Is there a place I can find more info about the GetPropertyValue method?

    I'm just trying to get a true/false type value back.

    Is there a good place to get general info about using the MVC rendering too?

    Regards

  6. Gravatar ImageTypo by encoding Says:

    GetPropertyValue<string>("metaKeywords")

  7. Gravatar ImageJoakim Says:

    Regarding "wildcard" domains I had hoped that it would allow me to specify two (or more) "hostnames" for a single root-node.

    We are (planning on) running a localized 1:1 Umbraco site, and I want to have the selected language as part of the url. E.g "mydomain.com/no" in order to get the norwegian version of a page, and "mydomain.com/en" for the english version.
    Now I can get this by specifying this with the actual hostname, but it would be a lot nicer if I could just add two "wildcard" hostnames,
    namely "*/no" and "*/en" (which would then hopefully work no matter what the actual hostname is).

    I see in the Umbraco tracker that there are several issues related to hostnames and languages (and having multiple wildcard hostnames etc). Are there any planned features in future releases that would allow me to have hostnames like I've described above?

  8. Gravatar ImageDexter Benn Says:

    I am trying to upgrade my development box from umbraco 4.9.0 to umbraco 4.11.1. The umbraco part of the install worked perfectly, however Wordpress (our blog site) will not load. Apparently, it cannot see some .dll files located in the bin folder of our site. I verified the site permissions on the bin folder. Below is the error:

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Source Error:


    Line 113:
    Line 114:
    Line 115:
    Line 116:
    Line 117:


    Source File: D:\Webs\Umbraco4.11.1\web.config Line: 115

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.


    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


  9. Gravatar ImageSebastiaan Janssen Says:

    @Dexter Looks like you'll need to bin deploy MVC3 as it is not installed on your server, more info on the dlls you'll need to copy over here:
    http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx

  10. Gravatar ImageDexter Benn Says:

    Sebastiaan,

    The files listed in that article exist in my web application bin folder. I also copied those same files to a _bin_deployableAssemblies folder that I manually created. Restarted IIS and recycled the apppool and got the same error. I there anything else I can try?

  11. Gravatar ImageDexter Benn Says:

    I solved my problem. had to install
    - AspNetWebPages.msi - ASP.NET Web Pages with Razor Syntax
    ASP.NET Web Pages with Razor Syntax is a web framework and part of WebMatrix which gives you everything you need to build Web sites using Windows.
    (http://www.microsoft.com/en-us/download/details.aspx?id=15979)

    - MVC3.exe - ASP.NET MVC 3 RTM
    ASP.NET MVC 3 provides a Model-View-Controller (MVC) framework on top of the ASP.NET 4 runtime
    (http://www.microsoft.com/en-us/download/details.aspx?id=4211)

    Even though we don't use MVC, umbraco apparently is looking for the .dll's to exist on the server.

Leave a comment