Activities of "linhhn@arius.vn"

In Angular UI 7.4.1, modal add/edit user When username contains non-alphabetic characters, the validate message is displaying incorrectly even though the server returns the correct error

Question

In the gdpr screen, I want to change the display of prop but the lazy function of GdprModule is not accepting config parameters. Is that a bug? Please help me see if there is any other way to change the display of the prop

export declare class GdprModule {
    static forChild(options?: GdprConfigOptions): ModuleWithProviders<GdprModule>;
    static forLazy(): NgModuleFactory<GdprModule>;
    static ɵfac: i0.ɵɵFactoryDeclaration<GdprModule, never>;
    static ɵmod: i0.ɵɵNgModuleDeclaration<GdprModule, [typeof i1.GdprComponent, typeof i2.GdprActionColumnComponent, typeof i3.RequestPersonalDataToolbarActionComponent], [typeof i4.CoreModule, typeof i5.ThemeSharedModule, typeof i6.GdprRoutingModule, typeof i7.UiExtensionsModule, typeof i8.PageModule, typeof i9.NgbTooltipModule], [typeof i1.GdprComponent, typeof i2.GdprActionColumnComponent, typeof i3.RequestPersonalDataToolbarActionComponent]>;
    static ɵinj: i0.ɵɵInjectorDeclaration<GdprModule>;
}
  • ABP Framework version: v7.4.0
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello linhhn@arius.vn ,

Can you please share more steps to reproduce this issue, and also it will be helpful if you share some details of the entity that you are getting error. Like Entity parameters, and its inheritance.

Thank you, Anjali

My solosution is Separate tenant schema Before upgrading to version 7.4.0-rc.4, I had an entity that was not checked into Multi-tenant. It works fine in 7.3.2. After upgrading, if you call the Get all data api of that entity, a 500 error will occur All code related to this entity is automatically generated, I do not customize

My solution uses multi tenant However, I have an entity that is only created for the host tenant After upgrading from 7.3.2 to 7.4.0-rc.4, that entity's GET api generates an error

An exception occurred while iterating over the results of a query for context type '"MySite.EntityFrameworkCore.MySiteDbContext"'."
""System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.
   at MySqlConnector.MySqlDataReader.GetString(Int32 ordinal) in /_/src/MySqlConnector/MySqlDataReader.cs:line 298
   at lambda_method6242(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()
   at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.BufferedDataRecord.InitializeAsync(DbDataReader reader, IReadOnlyList`1 columns, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.InitializeAsync(IReadOnlyList`1 columns, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.BufferedDataReader.InitializeAsync(IReadOnlyList`1 columns, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()"
  • ABP Framework version: v7.4.0-rc.4
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Thanks. The reason is that the lepton-x version has not been updated in package.json

After updating version from 7.3.2 to 7.4.0-rc.4, the following error occurs. I deleted node_modules and yarn.lock and ran yarn but there was still an error so I think it's not due to the cache

NullInjectorError: R3InjectorError(AppModule)[ApplicationInitStatus -> InjectionToken Application Initializer -> [object Object] -> ProfilePictureService -> RestService -> InjectionToken CORE_OPTIONS -> InjectionToken CORE_OPTIONS]: 
  NullInjectorError: No provider for InjectionToken CORE_OPTIONS!
    at NullInjector.get (core.mjs:8755:27)
    at R3Injector.get (core.mjs:9184:33)
    at R3Injector.get (core.mjs:9184:33)
    at injectInjectorOnly (core.mjs:651:33)
    at Module.ɵɵinject (core.mjs:655:60)
    at Object._class7_Factory [as factory] (abp-ng.core.mjs:60:84)
    at R3Injector.hydrate (core.mjs:9285:35)
    at R3Injector.get (core.mjs:9173:33)
    at injectInjectorOnly (core.mjs:651:33)
    at Module.ɵɵinject (core.mjs:655:60)
  • ABP Framework version: v7.4.0-rc.4
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have updated version 7.4-rc4 but still do not see AngularUI has a timezone setting screen Is 7.4 final going to be implemented? And can you tell me the release date of 7.4 final?

https://github.com/abpframework/abp/issues/16628 The timezone setting feature seems to be available in version 7.4-preview However, is there support for angularUI yet?

  • ABP Framework version: v7.4-preview
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
import { EditFormPropContributorCallback, EntityActionContributorCallback, EntityPropContributorCallback, ToolbarActionContributorCallback } from '@abp/ng.theme.shared/extensions';
import { eAccountComponents } from '../enums/components';
import { IdentitySecurityLogDto } from '@volo/abp.commercial.ng.ui/config';
import { ProfileDto } from '@volo/abp.ng.account/public/proxy';
export type AccountEntityActionContributors = Partial<{
    [eAccountComponents.MySecurityLogs]: EntityActionContributorCallback<IdentitySecurityLogDto>[];
}>;
export type AccountToolbarActionContributors = Partial<{
    [eAccountComponents.MySecurityLogs]: ToolbarActionContributorCallback<IdentitySecurityLogDto[]>[];
}>;
export type AccountEntityPropContributors = Partial<{
    [eAccountComponents.MySecurityLogs]: EntityPropContributorCallback<IdentitySecurityLogDto>[];
}>;
export type AccountEditFormPropContributors = Partial<{
    [eAccountComponents.PersonalSettings]: EditFormPropContributorCallback<ProfileDto>[];
}>;
export interface AccountConfigOptions {
    redirectUrl?: string;
    entityActionContributors?: AccountEntityActionContributors;
    toolbarActionContributors?: AccountToolbarActionContributors;
    entityPropContributors?: AccountEntityPropContributors;
    isPersonalSettingsChangedConfirmationActive?: boolean;
}

@volo\abp.ng.account\public\models\config-options.d.ts In config options I am seeing AccountEditFormPropContributors not being used

  • ABP Framework version: v7.3.2
  • UI Type: Angular
  • Database System: EF Core MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have added extra properties for users according to the document below https://docs.abp.io/en/abp/latest/UI/Angular/Dynamic-Form-Extensions

However, in the account management screen, extra properties cannot be translated How can we fix this problem?

Showing 1 to 10 of 15 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35