Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL ERROR] TypeError: Cannot use 'in' operator to search for 'LineNum' in null #85

Open
gregorwolf opened this issue Jun 7, 2020 · 2 comments

Comments

@gregorwolf
Copy link
Contributor

Hello CAP Team,

when I execute cds watch for the branch cleared-b1-metadata of the project sap-business-one-odata-cap I get the following error:

[INTERNAL ERROR] TypeError: Cannot use 'in' operator to search for 'LineNum' in null
at InsertBuilder._traverseValue (/Users/gwolf/Documents/Projects/cap/sap-business-one-odata-cap/node_modules/@sap/cds-runtime/lib/cds-sql/sql-builder/InsertBuilder.js:222:16)

as soon as I try to fill the data in init.js also with the array DocumentLines from the result that is returned by the sandbox service from api.sap.com.

I guess this is caused by the limitation described for array of. Would be good to know when this feature will be supported.

Best regards
Gregor

@gregorwolf
Copy link
Contributor Author

Reported also via the SAP Service Marktplace: 381101 / 2020

@mariayord
Copy link

Hi @gregorwolf ,

We plan to implement this feature in Q3 this year.

Best Regards,
Maria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants