Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jul 15, 2009 @ 10:01
    Jeroen Breuer
    0

    Package datatype bug

    Hello,

    I created a package which contains a datatype. The datatype’s render control is the Umbraco usercontrol wrapper and the database datatype is Nvarchar. If I install the package on another Umbraco website everything goes well except one thing. The database datatype is not Nvarchar, but Ntext. If I want to save a document which contains this document type I get the following error: Operand type clash: uniqueidentifier is incompatible with ntext. I currently have to manually set the database datatype from Ntext to Nvarchar and then everything works again.

    The generated xml from the package looks like this:

        <DataType Name="[Tribal] RedirectOpties" Id="d15e1281-e456-4b24-aa86-1dda3e4299d5" Definition="127d5e5a-3ad0-43b7-bf74-b7448fe981a2">
          <PreValues>
            <PreValue Id="11" Value="/usercontrols/RedirectOpties.ascx" />
          </PreValues>
        </DataType>

    Are there more people who have this problem?

    I’m running Umbraco 4.0.2.1. on asp.net 2.0.

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jul 17, 2009 @ 09:35
  • Aaron Powell 1708 posts 3044 karma points c-trib
    Jul 17, 2009 @ 09:59
    Aaron Powell
    1

    I'm doing work on the Packaging section of Umbraco for 4.1, I'll have a look at this and see if I can get it fixed for you.

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jul 17, 2009 @ 10:06
    Jeroen Breuer
    0

    Thank you slace!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies