Thanks!
Thanks. Any ideas when it can be fixed?
It didn't work. I believe the issue is not related to the EF type, as the migration already has the correct SQL type. It seems to be caused by a deserialization or mapping step in the pipeline. Since extra property values are stored as Object
, it could be a boxing issue. When replacing IdentityUserAppService
, I noticed that the BirthDate
property is stored as DateTime
instead of DateOnly
. Additionally, the response includes a time part, which suggests unintended type conversion.
Request:
{
"extraProperties": {
"NationalIdentityNumber": "12345678901",
"BirthDate": "2001-03-27" <--- no time
},
"userName": "test",
"name": "test",
"surname": "test",
"password": "test123",
"email": "test@test",
"phoneNumber": "",
"isActive": true,
"lockoutEnabled": true,
"emailConfirmed": false,
"phoneNumberConfirmed": false,
"shouldChangePasswordOnNextLogin": false,
"roleNames": [],
"organizationUnitIds": []
}
Response:
{
"tenantId": null,
"userName": "test",
"email": "test@test",
"name": "test",
"surname": "test",
"emailConfirmed": false,
"phoneNumber": "",
"phoneNumberConfirmed": false,
"supportTwoFactor": false,
"twoFactorEnabled": false,
"isActive": true,
"lockoutEnabled": true,
"isLockedOut": false,
"lockoutEnd": null,
"shouldChangePasswordOnNextLogin": false,
"concurrencyStamp": "6d0c02c007114cfa8a6eb816bd9f277c",
"roleNames": null,
"accessFailedCount": 0,
"lastPasswordChangeTime": "2025-03-27T07:16:52.8335677+00:00",
"isExternal": false,
"isDeleted": false,
"deleterId": null,
"deletionTime": null,
"lastModificationTime": null,
"lastModifierId": null,
"creationTime": "2025-03-27T09:16:52.8579278+02:00",
"creatorId": "519c6b51-3e6f-8cb8-cade-3a17de0dafb7",
"id": "51e457a2-1a1e-5930-a2d4-3a18e8a2d980",
"extraProperties": {
"BirthDate": "2001-03-27T00:00:00", <---- time added
"NationalIdentityNumber": "12345678901"
}
}
This is how I see the problem:
Btw, on UI date input is a simple text input, not a date picker.
Hi,
Thanks, workaround works. Are you going to include fix for this in next ABP releases?
Hey, any news?
Hello,
It was fixed with this pr. I will try reproduce the problem again
Hi,
Unfortunately, we still have the issue. It disappeared for a while, but after lates updates it's back :( Even previously suggested workaround doesn't help anymore.
Did you reproduce the problem? Do you need any additional information?
Hi.
Thanks for help. Workaround fixed the issue. Any estimates regarding ABP update with fix?
Hello,
Url parameter for angular proxy generation supported in abp cli 5.2.2 and @abp/ng.schematics package version 5.2.2. But there is a bug in version 5.2.2 which is abp generate-proxy command doesn't work without url parameter. It is fixed in 5.3.0-rc.3 and it will be fixed in version 5.2.3. If you update ABP Cli and @abp/ng.schematics package versions to 5.2.2 or 5.3.0-rc.3 you can pass url parameter.
The error seems related to got library. I found a discussions in rxjs repo and found an issue in got library. We will try to understand cause of this error with observing related library issues. By the way are the node versions same in both machines ? Proxy generation works in Macos Catalina, also we will try in Macos Monterey.
Hi.
Hi,
We had the problem before https://support.abp.io/QA/Questions/3092/Error-when-trying-to-use-abp-generateproxy--t-ng--m-identity But we fixed it
Maybe ABP CLI can not work on macOS as well, we will check it.
Unknown option issue on version 5.2.2 is appearing on windows PCs too, it is not only mac problem :(