Repro:
- Run the sample DX.Test.Blazor8
- Register as new user
- Login as user
- Go to profile and try to activate the authenticator app using the button
Exception:
DevExpress.Data.Filtering.Exceptions.InvalidPropertyPathException: 'Property path 'User!Key' is incorrect for type 'DX.Data.Xpo.Identity.Persistent.XpoDxUserToken'.'
In XpoDxUserToken.cs:19
After some more digging, I found out that the XpoDxUserToken instance is created, but the user property is never assigned (it has value null). This is why the XPO evaluation above fails.
Repro:
Exception:
DevExpress.Data.Filtering.Exceptions.InvalidPropertyPathException: 'Property path 'User!Key' is incorrect for type 'DX.Data.Xpo.Identity.Persistent.XpoDxUserToken'.'
In XpoDxUserToken.cs:19
After some more digging, I found out that the XpoDxUserToken instance is created, but the user property is never assigned (it has value null). This is why the XPO evaluation above fails.