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:
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:
Are there more people who have this problem?
I’m running Umbraco 4.0.2.1. on asp.net 2.0.
I also created a workitem about it: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=23510
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.
Thank you slace!
is working on a reply...
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.