Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a big problem. When I reach the limit (100 images) using multiple media picker, I can't save anymore. I got some errors:
http://domain.com/umbraco/backoffice/UmbracoApi/Content/PostSave 500 (Internal Server Error)
TypeError: data.indexOf is not a function
How can I turn the limitation off?
Did you look at datatype settings?
I don't think is there any settings for this field.
Or is there somewhere else? Where should be?
I don't think there is a limit in terms of the number of items you can pick, if you look at the error in detail it is to do with truncating of data when trying to save to the database. I am investigating this issue myself at the moment.
Can you try changing the dbType value in the database for this propertyEditor from Nvarchar to Ntext. This should remove the limit and with a bit of luck allow you to save larger amounts of data with the property editor.
WARNING: Backup your database first and DO NOT perform straight on your live site as there is a possibility of data loss as I've not tested this myself yet.
It worked perfectly, thank you very much.
If anybody needs the query:
SET dbType = 'Ntext'
FROM [Umbraco].[dbo].[cmsDataType] WHERE propertyEditorAlias = 'Umbraco.MultipleMediaPicker'
Glad it helped. I think you will also need to script migration of data that was previously saved as Nvarchar because it is stored in a different column of the [cmsPropertyData] table.
Sorry, I don't really understand.
Do I need to run another script?
Is your previously saved data still available since the change? I suspect that changing the dbType to Ntext means that the data previously saved to the Nvarchar column will not be copied over to the Ntext column of the [cmsPropertyData] table. I don't have an example to hand at the moment but if your existing data is still ok its perhaps not an issue.
I tested it, and it seems right. Old and new images are working. I can delete, add new images as well. I tested more than 200 images. I think will be ok.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted