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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.