You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an imported CDS from remote service, where the keys are named like: PartnerFunction and SDDocument. When configuring a CSV for mock data, we have wirrten the column names in capital letters like: PARTNERFUNCTION and SDDOCUMENT.
The insert fails because of a wrong sql query.
I have debugged the coding and found this place:
In line 744 the function filters out all elements where the name is not included in the keys. In our case the keys are PartnerFunction, SDDocument and the respective names of elements from managed are capital letters: PARTNERFUNCTION, SDDOCUMENT. As the includes function is case sensitive, it filters out all elements and the constant extractedKeys is empty. This leads then to a falsy sql statement created at line 751.
Would it be possible to make these checks case insensitive by transforming it to capital letters for example.
Detailed steps to reproduce
If you need one, I can create a simple project, but the case was described above.
Description of erroneous behaviour
We have an imported CDS from remote service, where the keys are named like: PartnerFunction and SDDocument. When configuring a CSV for mock data, we have wirrten the column names in capital letters like: PARTNERFUNCTION and SDDOCUMENT.
The insert fails because of a wrong sql query.
I have debugged the coding and found this place:
In line 744 the function filters out all elements where the name is not included in the keys. In our case the keys are PartnerFunction, SDDocument and the respective names of elements from managed are capital letters: PARTNERFUNCTION, SDDOCUMENT. As the includes function is case sensitive, it filters out all elements and the constant extractedKeys is empty. This leads then to a falsy sql statement created at line 751.
Would it be possible to make these checks case insensitive by transforming it to capital letters for example.
Detailed steps to reproduce
If you need one, I can create a simple project, but the case was described above.
Details about your project
The text was updated successfully, but these errors were encountered: