Activities of "maxim@kolychev.msk.ru"

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.1.0-RC2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: The following errors were detected during validation. - The SocialSecurityNumber field is required.
  • Steps to reproduce the issue:

Uncomment rows in _ModuleExtensionConfigurator.ConfigureExtraProperties

    private static void ConfigureExtraProperties()
    {
           ObjectExtensionManager.Instance.Modules()
              .ConfigureIdentity(identity =>
              {
                  identity.ConfigureUser(user =>
                  {
                      user.AddOrUpdateProperty<string>( //property type: string
                          "SocialSecurityNumber", //property name
                          property =>
                          {
                              //validation rules
                              property.Attributes.Add(new RequiredAttribute());
                              property.Attributes.Add(new StringLengthAttribute(64) {MinimumLength = 4});
                          }
                      );
                  });
              });
    }

No changes in UI (no columns or fields SocialSecurityNumber like https://docs.abp.io/en/abp/latest/Module-Entity-Extensions) After press Save button in Edit form we see error message: The following errors were detected during validation. - The SocialSecurityNumber field is required.

Showing 11 to 11 of 11 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11