Activités de "korolei"

Répondre

Hi,

Looks like in ABP 5.1.2 'ImpersonatorTenantName' & 'ImpersonatorUserName' properties was not removed from AbpAuditLogs entity, and it's causing following exception: Failed executing DbCommand (7ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (Size = 64), @p17='?' (DbType = Guid), @p18='?' (Size = 256), @p19='?' (DbType = Guid), @p20='?' (Size = 64), @p21='?' (Size = 256), @p22='?' (DbType = Guid), @p23='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorTenantName], [ImpersonatorUserId], [ImpersonatorUserName], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23);

Is it something we can fix on our side or you'll provide fix for this?

Hi, We're using Blazor Server options. Here is dependencies, defined in BlazorModule: Commenting out that dependency, would lead to the following exception: DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Volo.Abp.LanguageManagement.DatabaseLanguageProvider' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.LanguageManagement.ILanguageRepository languageRepository' of constructor 'Void .ctor(Volo.Abp.LanguageManagement.ILanguageRepository, Volo.Abp.ObjectMapping.IObjectMapper1[Volo.Abp.LanguageManagement.LanguageManagementDomainModule], Volo.Abp.Caching.IDistributedCache1[Volo.Abp.LanguageManagement.LanguageListCacheItem], Microsoft.Extensions.Options.IOptions`1[Volo.Abp.Localization.AbpLocalizationOptions])'. Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable

DependencyResolutionException: An exception was thrown while activating Volo.Abp.LanguageManagement.DatabaseLanguageProvider.

Thank you again. Those are the good points against extending entity. I like your suggestion and we're will follow it.

Thank you for your reply. I said the same to our business people, but they want to have 2 extra properties: Notes & Description in LanguageText entity, so when they need to change any localized text, they'd know where it is used on the site and what it for. I'd go in this case with defining new entity, which would derive from LanguageText & IHasExtraProperty interface and then map it to LanguageText table, but would like to see your suggestion.

Thanks!

Hi,

Thanks for your reply. I did look at that information before. Adding 'ITransientDependency' interface to CustomSettingsProvider class, solved the issue. I provided PR for this: https://github.com/abpframework/abp/pull/10636

hi

I think you don't need to remove Blazorise.

https://community.abp.io/articles/how-to-integrate-the-telerik-blazor-components-to-the-abp-blazor-ui-q8g31abb

Hi, I'd prefer to remove Blazorise components to avoid any conflicts, but it's not clear what dependency ABP modules is having on those components. Some clarity would help. Thanks.

Affichage de 1 à 6 sur 6 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11