Can it be that there is an error in the latest version 4.17?
{
"error": {
"code": "IdNotSetException",
"message": "Id not set on entity of class TRolePermission."
}
}
I know the error. No primary key may be null ( or 0).
But I don't have a null-value. The code ran until yesterday.
Manager.Find<TUser>
.Where((Linq[ 'Name'] = myUserName) or (Linq[ 'Shortname'] =myUserName))
.List;
In debugger the "List" produces the error
wlandgraf
(Wagner Landgraf)
August 4, 2020, 11:32pm
2
Yes, sure it might be an error. But then we have to know how to reproduce and fix it. Do you have more information, a sample project, etc.?
I have a SQL script for MS SQL Server (auth.sql)
and the auth.dbEntities.pas Unit in a zip-file auth.zip
In the statement above the "myUserName" is "sup"
auth.zip (6.6 KB)
Is this ok for testing?
And here is the DataModeler file
auth_authentification.zip (10.0 KB)
I tested the following:
I my Aurelius folder renamed (4.17) source to source_new
Copy (4.16) source from my notebook
and build the project new
It works with 4.16 sources and doesn't work with 4.17
wlandgraf
(Wagner Landgraf)
August 5, 2020, 9:50pm
6
Thank you for the information. That helped us identify and solve the problem. TMS Aurelius 4.17.2 has been released with the fix.
system
(system)
Closed
August 7, 2020, 3:32pm
7
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.