Apparently your modifications in the package.manifest work with a simple restart in the app pool, unless you try to change the valueType... The valueType remains the same even if you change it.. I'm working on Umbraco v7.3 and I can't be sure this is fixed in the following versions.
Anyhow, a "simple" fix is to manually update your cmsDataType table's dbType column from your old value to the new one (I updated from Nvarchar to Ntext).
This was working for me, but unfortunatly it did not work in all cases.
In my case I have a label on a page, filled with links to pages where the item is linked to. Before applying your provided fix, I was able to have +/- 10 links in the list before it was truncated. I changed nvarchar to ntext in the CmsDataType table, and it started working again. Now I'm getting the same error, but for +/- 20 links. Am I hitting the limits? I would expect ntext to be big enough to store about 1000 characters, so what am I doing wrong?
note: I am using Umbraco 8.3, the problem still persists here.
Custom Property Value Truncating on Save
Hey there,
I'm having an issue with a custom property I'm creating. Whenever I hit "save & publish", I get the following error:
The data I'm submitting is this:
The data from the custom controller is this:
In my package.manifest, I tried setting
valueType:
to"JSON"
and"TEXT"
but it did nothing...Has anyone ever walked into something like this or similar? I'm kinda lost here.. :\
Thanks, Pedro
edit: added the data relative to the custom controller
Weeeeeellll...
Apparently your modifications in the package.manifest work with a simple restart in the app pool, unless you try to change the valueType... The valueType remains the same even if you change it.. I'm working on Umbraco v7.3 and I can't be sure this is fixed in the following versions.
Anyhow, a "simple" fix is to manually update your cmsDataType table's dbType column from your old value to the new one (I updated from Nvarchar to Ntext).
This was working for me, but unfortunatly it did not work in all cases. In my case I have a label on a page, filled with links to pages where the item is linked to. Before applying your provided fix, I was able to have +/- 10 links in the list before it was truncated. I changed nvarchar to ntext in the CmsDataType table, and it started working again. Now I'm getting the same error, but for +/- 20 links. Am I hitting the limits? I would expect ntext to be big enough to store about 1000 characters, so what am I doing wrong?
note: I am using Umbraco 8.3, the problem still persists here.
is working on a reply...