Copied to clipboard

Flag this post as spam?

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


  • Emin Akbulut 21 posts 43 karma points
    Feb 17, 2012 @ 22:54
    Emin Akbulut
    0

    Bug found: Install redirects to Index instead of StarterKit in Turkish environment

    I've already mentioned the weirdness before & just updated the issue: http://umbraco.codeplex.com/workitem/30649

    Nhibernate causes the bug because of Turkish-I problem.



    Umbraco 4.7 & 5
    NHibernate 3.2.0 & 3.1.0
    Windows 7 & XP (Turkish language selected in regional settings)

  • Emin Akbulut 21 posts 43 karma points
    Feb 17, 2012 @ 23:22
    Emin Akbulut
    0


    Original line in Table.cs:

    bool typesMatch = column.GetSqlType(dialect, mapping).ToLower().StartsWith(columnInfo.TypeName.ToLower());

    Correct line should be like below:

    bool typesMatch = column.GetSqlType(dialect, mapping).ToLowerInvariant().StartsWith(columnInfo.TypeName.ToLowerInvariant());

  • Emin Akbulut 21 posts 43 karma points
    Feb 18, 2012 @ 20:44
    Emin Akbulut
    0

    Bug fixed in NHibernate. Umbraco should use the latest version of nhiberbate.dll.

     

    Line in Table.cs is now:

        bool typesMatch = column.GetSqlType(dialect, mapping).StartsWith(columnInfo.TypeName, StringComparison.OrdinalIgnoreCase);

     

Please Sign in or register to post replies

Write your reply to:

Draft