Try our conversational search powered by Generative AI!

Business Foundation Integer primaryKey



Migrating from Commerce v13 to v14 got into another trouble

I've a custom MetaClass, Business Foundation, which has the PrimaryKey field as Integer but when EPiserver tries to return the data it gives an error in the Commerce/BusinessFoundationData/Search API

I went deep in the code and the issue seems that it's related with the BusinessFoundationDataExtension class that cast the object to Guid in the ToBusinessFoundationDataViewModel method on line 101

I've the latest version of Commerce and CMS

Am I missing any extension and configuration I need to implement?

Edited, Jan 04, 2024 15:49

Hi Ricardo,

Thanks for the detail sharings. I'll work with the dev team and back to you soon.

Viet Anh

Jan 09, 2024 4:14

Hi Ricardo,
Could you please create a support ticket so we can have deeper look into this case?

Jan 22, 2024 3:59

Hi Viet Anh,

I've already created

Jan 22, 2024 6:53

Hi Ricardo,
This issue has been resolved and will be included in the upcoming Commerce version (suppose to be 14.18.0)

Jan 31, 2024 7:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.