Starts in:
2 DAYS
11 HRS
51 MIN
0 SEC
Starts in:
2 D
11 H
51 M
0 S

Activities of "DominaTang"

Our UI used to have User name, Name, Surname, Email and Phone Number -- these 5 input controls, Now it's have 0 input controls on UI. The whole form is blank and not rendered. It's not related to any extra properties.

Hi,

I can't reproduce the problem.

ObjectExtensionManager.Instance.Modules() 
  .ConfigureIdentity(identity => 
  { 
      identity.ConfigureUser(user => 
      { 
          user.AddOrUpdateProperty<string>( //property type: string 
              "SocialSecurityNumber", //property name 
              property => 
              { 
                  property.Attributes.Add(new RequiredAttribute()); 
                  property.Attributes.Add(new StringLengthAttribute(64) {MinimumLength = 4}); 
 
              } 
          ); 
 
          user.AddOrUpdateProperty<string>("Test"); 
          user.AddOrUpdateProperty<string>("Test2"); 
          user.AddOrUpdateProperty<string>("Test3"); 
          user.AddOrUpdateProperty<string>("Test4"); 
          user.AddOrUpdateProperty<string>("Test5"); 
          user.AddOrUpdateProperty<string>("Test6"); 
      }); 
  }); 

What is the logic within abp-extensible-form to decide the input control rendered on UI?

Here is the source code

https://github.com/abpframework/abp/blob/rel-8.0/npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form.component.ts

After upgrade to Abp 8 (BE use Abp 8.2.3) FE use 8.1.3 (For Saas menu display on ABP 8.2.3) Micro Service Architect

Click account , personal setting, the form content for this line not showing o UI <abp-extensible-form [selectedRecord]="storedProfile"></abp-extensible-form>

In ABP 7:

export interface ProfileDto extends ExtensibleObject {
    userName?: string;
    email?: string;
    emailConfirmed: boolean;
    name?: string;
    surname?: string;
    phoneNumber?: string;
    phoneNumberConfirmed: boolean;
    isExternal: boolean;
    hasPassword: boolean;
    concurrencyStamp?: string;
}

In ABP 8:

export interface ProfileDto extends ExtensibleObject {
    userName?: string;
    email?: string;
    emailConfirmed: boolean;
    name?: string;
    surname?: string;
    phoneNumber?: string;
    phoneNumberConfirmed: boolean;
    isExternal: boolean;
    hasPassword: boolean;
    supportsMultipleTimezone: boolean;
    timezone?: string;
    concurrencyStamp?: string;
}

But I think the Dto extra properties should not cause the issue. I create a ProfileDtoLocal as version 7 Dto and bind it to abp-extensible-form, but the UI still black.

Plus, I have a question though, the Dto has many properties, but even on ABP 7 UI only show:= 5 input contorls: User name,, Name, Surname, Email and Phone Number

What is the logic within abp-extensible-form to decide the input control rendered on UI?

hi

What steps and code have you applied to the layout/theme?

Can you share the csproj file content for your web project?

I figured out the reason. Our local templates folder files are not pickup when deployed. Since in release mode, the bundle is Abp's Theme package bundle + global css bundle. I compared bundled css with previous bundled css, d-lg-block and another css have display:none; in version 8, version 7 has definition for .lpx-login-image-area but version 8 seems not. So I copied version 7 css to local global css.

ABP 8.2.3 MicroServices Template

When run application locally, after upgrade, the login page layout is good (same as before). However, after the application deployed, the layout is different. How to disable ABP script and css bundle, so that I can compare local version scripts/css and deployed version. I commented the line Config Bundle, the bundle is still there.

Also, I copy over every css, lib, theme folders/files and Theme package back to prior upgrade, the UI still not same as before. Don't understand why.

Thanks, Domina

ABP Framework 8.2.3, Micro Service architect. SQL server Db, any query has .Include() would throw exception:

System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values. at Microsoft.Data.SqlClient.SqlBuffer.ThrowIfNull() at Microsoft.Data.SqlClient.SqlBuffer.get_String() at Microsoft.Data.SqlClient.SqlDataReader.GetString(Int32 i) at lambda_method1856(Closure, DbDataReader, Int32[]) at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.BufferedDataRecord.ReadObject(DbDataReader reader, Int32 ordinal, ReaderColumn column) at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.BufferedDataRecord.ReadRow()

Code: var query = await this.GetQueryableAsync(); var result = await query.Include(x => x.ChildEntity).Where (...).FirstOrDfaultAsync();

I check the EF core mapping and Db data, all valid.

Hi DominaTang,

We moved SaaS menu under the administration. If you talking about this, that's not bug but if you say saas menu not visible even under administartion I'll check also for it.

Yes, under administration menu, the 'Saas' menu item is not there after upgrade to ABP 8.2.x

hi

That's strange, Can you share a test project to reproduce?

Thanks

liming.ma@volosoft.com

Can we have a shared session?

The version 7 'Saas' menu is shown at the same level as 'Administration', however, with Abp 8.2.3 blank template, the UI looks like this:

If I downgrade the Abp to 8.1.3, "@volo/abp.ng.text-template-management": "~8.1.3", "@volosoft/abp.ng.theme.lepton-x": "3.1.1",

Then the "Saas menu appears again at the root level

hi

Can you check the permissions(in the permission modal of user or role) of the current user? Does he have saas permissions?

And what's your project info?

  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no

Micro Services UI: Angular Db: MongoDB

After login to the app with host admin, with Insomnia copy the access token to request, and get data from the Url: https://localhost:44325/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0

{ "localization": { "values": {}, "resources": {}, "languages": [ { "cultureName": "en", "uiCultureName": "en", "displayName": "English", "twoLetterISOLanguageName": "en" } ], "currentCulture": { "displayName": "English", "englishName": "English", "threeLetterIsoLanguageName": "eng", "twoLetterIsoLanguageName": "en", "isRightToLeft": false, "cultureName": "en", "name": "en", "nativeName": "English", "dateTimeFormat": { "calendarAlgorithmType": "SolarCalendar", "dateTimeFormatLong": "dddd, MMMM d, yyyy", "shortDatePattern": "M/d/yyyy", "fullDateTimePattern": "dddd, MMMM d, yyyy h:mm:ss tt", "dateSeparator": "/", "shortTimePattern": "h:mm tt", "longTimePattern": "h:mm:ss tt" } }, "defaultResourceName": "Ess", "languagesMap": { //Omit... }, "languageFilesMap": { //Omit... }, "auth": { "grantedPolicies": { "AbpIdentity.Roles": true, "AbpIdentity.Roles.Create": true, "AbpIdentity.Roles.Update": true, "AbpIdentity.Roles.Delete": true, "AbpIdentity.Roles.ManagePermissions": true, "AuditLogging.ViewChangeHistory:Volo.Abp.Identity.IdentityRole": true, "AbpIdentity.Users": true, "AbpIdentity.Users.Create": true, "AbpIdentity.Users.Update": true, "AbpIdentity.Users.Update.ManageRoles": true, "AbpIdentity.Users.Update.ManageOU": true, "AbpIdentity.Users.Delete": true, "AbpIdentity.Users.ManagePermissions": true, "AuditLogging.ViewChangeHistory:Volo.Abp.Identity.IdentityUser": true, "AbpIdentity.Users.Impersonation": true, "AbpIdentity.Users.Import": true, "AbpIdentity.Users.Export": true, "AbpIdentity.Users.ViewDetails": true, "AbpIdentity.OrganizationUnits": true, "AbpIdentity.OrganizationUnits.ManageOU": true, "AbpIdentity.OrganizationUnits.ManageRoles": true, "AbpIdentity.OrganizationUnits.ManageMembers": true, "AbpIdentity.ClaimTypes": true, "AbpIdentity.ClaimTypes.Create": true, "AbpIdentity.ClaimTypes.Update": true, "AbpIdentity.ClaimTypes.Delete": true, "AbpIdentity.SettingManagement": true, "AbpIdentity.SecurityLogs": true, "AbpIdentity.Sessions": true, "AbpAccount.SettingManagement": true, "FeatureManagement.ManageHostFeatures": true, "SettingManagement.Emailing": true, "SettingManagement.Emailing.Test": true, "SettingManagement.TimeZone": true, "AuditLogging.AuditLogs": true, "LanguageManagement.LanguageTexts": true, "LanguageManagement.LanguageTexts.Edit": true, "LanguageManagement.Languages": true, "LanguageManagement.Languages.Create": true, "LanguageManagement.Languages.Edit": true, "LanguageManagement.Languages.ChangeDefault": true, "LanguageManagement.Languages.Delete": true, "TextTemplateManagement.TextTemplates": true, "TextTemplateManagement.TextTemplates.EditContents": true, "OpenIddictPro.Application": true, "OpenIddictPro.Application.Update": true, "OpenIddictPro.Application.Delete": true, "OpenIddictPro.Application.Create": true, "OpenIddictPro.Application.ManagePermissions": true, "AuditLogging.ViewChangeHistory:Volo.Abp.OpenIddict.Pro.Applications.Application": true, "OpenIddictPro.Scope": true, "OpenIddictPro.Scope.Update": true, "OpenIddictPro.Scope.Delete": true, "OpenIddictPro.Scope.Create": true, "AuditLogging.ViewChangeHistory:Volo.Abp.OpenIddict.Pro.Scopes.Scope": true, "Saas.Tenants": true, "Saas.Tenants.Create": true, "Saas.Tenants.Update": true, "Saas.Tenants.Delete": true, "Saas.Tenants.ManageFeatures": true, "Saas.Tenants.ManageConnectionStrings": true, "Saas.Tenants.SetPassword": true, "AuditLogging.ViewChangeHistory:Volo.Saas.Tenant": true, "Saas.Tenants.Impersonation": true, "Saas.Editions": true, "Saas.Editions.Create": true, "Saas.Editions.Update": true, "Saas.Editions.Delete": true, "Saas.Editions.ManageFeatures": true, "AuditLogging.ViewChangeHistory:Volo.Saas.Edition": true, "Payment.Plans": true, "Payment.Plans.Create": true, "Payment.Plans.Update": true, "Payment.Plans.Delete": true, "Payment.Plans.GatewayPlans": true, "Payment.Plans.GatewayPlans.Create": true, "Payment.Plans.GatewayPlans.Update": true, "Payment.Plans.GatewayPlans.Delete": true, "Payment.PaymentRequests": true } }, "setting": { "values": { ...//omit } }, "currentUser": { "isAuthenticated": true, "id": "62313e42-ceb3-a848-084e-3a13001ca858", "tenantId": null, "impersonatorUserId": null, "impersonatorTenantId": null, "impersonatorUserName": null, "impersonatorTenantName": null, "userName": "admin", "name": "admin", "surName": null, "email": "admin@abp.io", "emailVerified": false, "phoneNumber": null, "phoneNumberVerified": false, "roles": [ "admin" ], "sessionId": "a1548e95-1015-4455-8dbb-6e4929686da7" }, "features": { "values": { "Identity.TwoFactor": "Optional", "Identity.MaxUserCount": "0", "Account.EnableLdapLogin": "False", "Identity.EnableOAuthLogin": "False", "SettingManagement.Enable": "true", "SettingManagement.AllowChangingEmailSettings": "false", "LanguageManagement.Enable": "true", "TextManagement.Enable": "true", "AuditLogging.Enable": "true", "AuditLogging.SettingManagement": "false" } }, "globalFeatures": { "enabledFeatures": [] }, "multiTenancy": { "isEnabled": true }, "currentTenant": { "id": null, "name": null, "isAvailable": false }, "timing": { "timeZone": { "iana": { "timeZoneName": "Etc/UTC" }, "windows": { "timeZoneId": "UTC" } } }, "clock": { "kind": "Utc" }, "objectExtensions": { "modules": {}, "enums": {} }, "extraProperties": {} }

Showing 1 to 10 of 98 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06