I have generated CRUD pages using Radzen and one database table is using string as a primary key. That key can include special characters, for example character "/" (slash). I am using Angular as a frontend and API call to controller is using encoded string, which is OK. However, on controller there is no decode call for that parameter. Therefore, I cannot edit or delete records because Linq is using still encoded string and no records are found.
I found a solution to add that generated .cs file to code generation ignore list, but is there a better solution?
Hello @enchev,
I still have not been able to resolve this issue. Can you please send me that project so maybe I will get a better understanding what am I doing wrong.
I was able to reproduce the issue. It seems that this is regression in Microsoft.AspNetCore.OData 8.x used in our .NET 6 projects compared to Microsoft.AspNetCore.OData 7.x used in our .NET 5 projects. We will do our best to research what's causing this and to provide fix/workaround if possible.
Ah OK, I thought I was doing something wrong . Also I have noticed that character ' (quote) character is causing issues on frontend. According to OData documentation, single quote character is not a valid URL. Instead, there should be two single quotes. Is there something you can look into it too?