on 07-14-2023 3:44 PM
Hello experts !!
We are checking the new version of @sap/cds@7.0.2 and we found an issue:
S4.PurchaseOrders it's a view to fetch data through SDA HANA Cloud
entity PurchaseOrders as projection on s4.PurchaseOrders{
*,
virtual null as Errors:refs.ErrorMessages
}
We have created this virtual with refs.ErrorMessages arrayed type:
type: ErrorMessages: array of{
category:String(20);
shortMessage:String(100);
}
And we are getting an error on executing cds build command
[ERROR] db/refs.cds:19:5: Artifact “cds.String” has not been found (in element:)<br>
This doesn't happen with last version 6, please can you suggest what is the issue??
Best regards,
Sara.
Hi Sara,
Thanks for reporting and for your example project.
We identified this as a regression in the `cds-compiler`. The issue is actually that the compiler can't handle the structured type in your cdl-style cast.
We will prepare a fix for this. Once we have released the version which includes the fix, I'll let you know by updating this answer.
Best Regards,
Patrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sara,
we just released @sap/cds-compiler v4.1.2 which includes the fix for your issue.
Best Regards,
Patrice
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.