UpdateAsync does not update content

I have…

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

Hi, I am using c#.
When I try to update content by schema id I get this error: “Validation error: showAfter: Not a known field., publicationListType: Not a known field., publicationItemType: Not a known field., imagePublicationItemMob: Not a known field., imagePublicationItem: Not a known field., imagePublicationListMob: Not a known field., imagePublicationList: Not a known field., imageLatterMob: Not a known field., imageLatter: Not a known field., imageMiddleMob: Not a known field., imageMiddle: Not a known field., imageNewsMob: Not a known field., imageNews: Not a known field., imageMainMob: Not a known field., imageMain: Not a known field., position: Not a known field., name: Not a known field., viewed: Not a known field., sort: Not a known field., url: Not a known field., dateEnd: Not a known field., dateStart: Not a known field.”

Though var data =_clientManager.GetListItems<AdvertisingBannerItem,AdvertisingBannerData>(Schema.AdvertisingBanner,filter: $“id eq ‘{bannerId}’”); - Here everything comes correctly from squidex.
After I change one field, I try to insert the changes back and get an error, what could be the problem ?

I’ll add screenshots


Expected behavior

Should update content by id

Environment

App Name:

  • [+] Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: 7.13.0.0

Are you sure, that the casing is correct? e.g. PascalCase vs camelCase?

We are using Squidex.ClientLibrary version 14.2.0. And we don’t have the ability to customize the case, or we don’t know how to do it :upside_down_face:.
But judging from the error in squidex, camelCase is leaving.
The scheme in squidex has the following structure (photo)

1 Like

Added [KeepCasingAttribute] everything worked, thank you

1 Like