Starts in:
0 DAY
19 HRS
4 MIN
5 SEC
Starts in:
0 D
19 H
4 M
5 S
Open Closed

Identity extra properties with lookup #4204


User avatar
0
FabriceC created
  • ABP Framework version: v6.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

After migration from version 5.3 to version 6.0.2, the lookup added to table "AbpUsers" don't work.

Here's my code that works with version 5.3 : ObjectExtensionManager.Instance.Modules() .ConfigureIdentity(identity => { identity.ConfigureUser(user => { user.AddOrUpdateProperty<Guid?>( "EstablishmentId", property => { property.UI.Lookup.Url = "/api/app/establishment"; property.UI.Lookup.DisplayPropertyName = "name"; property.UI.Lookup.ValuePropertyName = "id"; property.DisplayName = LocalizableString.Create("Establishment"); } ); }); });

In version 6.0 nothing was recorded. In version 6.0.2, EstablishmentId is recording but the text is missing in the "Extraproperties" field. As a result, the establishment does not appear in the list or in the edit page.

Thank you for your help.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There was a bug, You should use the latest 6.x version.

    https://github.com/abpframework/abp/pull/14306

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06