We (I mean Marc Goodson from Moriyama) have eventually discovered what the problem was. A previous developer had set the RequestValidationMode (in the web.config) to 4.0. Setting it back to 2.0 solved the problem.
Thanks for your help
Jason
P.S. Still waiting to discover if setting it to 2.0 has broken anything else.
Error after upgrade
I am aware this has been raised, but the solutions have not solved my problem.
After an upgrade from 7.5.6 to 7.6.12 I am unable to save some items and get the following error
An error occured
Mapping types: Content -> String[] Umbraco.Core.Models.Content -> System.String[] Destination path: ContentItemDisplay.Urls.Urls Source value: Umbraco.Core.Models.Content Exception Details AutoMapper.AutoMapperMappingException: Mapping types: Content -> String[] Umbraco.Core.Models.Content -> System.String[] Destination path: ContentItemDisplay.Urls.Urls Source value: Umbraco.Core.Models.Content
What is odd is that if I remove any content from the rich text editor it will save.
Hi Jason
Did you do all points from upgrading guide? Maybe you miss something?
Thanks,
Alex
I believe I did. What could I have missed?
Maybe overwrite some dll or merge config file
Thanks Alex,
I have been told it is related to AutoMapper. Does this need to be upgraded or should it be included?
Jason
Hi Alex,
Another cause might be an override on save as the issue only happens when there is content in a richtext document type.
Just need to find it. The developer has now left so we can't ask him.
Ho hum, the search continues.
Hi Alex,
We (I mean Marc Goodson from Moriyama) have eventually discovered what the problem was. A previous developer had set the RequestValidationMode (in the web.config) to 4.0. Setting it back to 2.0 solved the problem.
Thanks for your help
Jason
P.S. Still waiting to discover if setting it to 2.0 has broken anything else.
is working on a reply...