Skip to Content
0
Aug 01, 2023 at 02:05 PM

SAP MDK Project from Template TypeError Entityset.some

213 Views

I have a mobile offline enabled App that is using an OData V2 Service. Unfortunately I discovered some features of it are not working in the latest release via App Update which have been working before.

In an attempt to analyse the problem and maybe find a solution I decided to create a new CRUD App for the service and EntitySet.

I get the same Error when creating a new App and it does not even matter if I use MDK 6.x or 23.x.

Has anyone had the same issue and might suggest what the cause is? I am stuck. The bug is only in create and update Actions.

The Errors when validating:

MDK Validator - TypeError: entitySets.forEach is not a function

MDK Validator - Failed to get schema of action .../..CreateEntity.action with the error: TypeError: element.EntitySet.some is not a function

Any help or comment is welcome!

Thanks

Severin