Ends in:
7 DAYS
18 HRS
44 MIN
10 SEC
Ends in:
7 D
18 H
44 M
10 S

Activities of "scott7106"

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

This issue is new this morning.

I cannot login this morning from the console. abp login <username> -p <password> is failing. Adding --organization does not fix the problem.

In addition, I cannot access my account profile. I get an Internal error 500

Thank you!

We are using Angular and have not edited the UI. I sent you an invite to the GitHub repo.

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

Missing Labels

We have extended the SaasTenants object. After upgrading to 8.1.4, we noticed that the create/edit screen for tenants does not show the labels. The Index page correctly shows the headers for the additional columns so the localized string is working there. This appears to be a UI bug or something we need to add which wasn't required in earlier versions. We noticed this with 8.1.4, but cannot confirm whether that is where it was introduced.

ObjectExtensionManager.Instance.Modules()
                .ConfigureSaas(saas =>
                {
                    saas.ConfigureTenant(tenant =>
                    {
                        tenant.AddOrUpdateProperty<string>(
                            "ClientCode",
                            property =>
                            {
                                property.Attributes.Add(new RequiredAttribute());
                                property.Attributes.Add(new StringLengthAttribute(MultiTenancyConsts.ClientCodeMaxLength));
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::ClientCode");
                                property.UI.OnTable.IsVisible = false;
                            });

                        tenant.AddOrUpdateProperty<string>(
                            "EnvironmentCode",
                            property =>
                            {
                                property.Attributes.Add(new RequiredAttribute());
                                property.Attributes.Add(new StringLengthAttribute(MultiTenancyConsts.EnvironmentCodeMaxLength));
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::EnvironmentCode");
                                property.UI.OnTable.IsVisible = false;
                            });

                        tenant.AddOrUpdateProperty<string>(
                            "TenantCode",
                            property =>
                            {
                                property.Attributes.Add(new StringLengthAttribute(MultiTenancyConsts.TenantCodeMaxLength));
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::TenantCode");
                                property.UI.OnCreateForm.IsVisible = false;
                                property.UI.OnEditForm.IsVisible = false;
                            });

                        tenant.AddOrUpdateProperty<EnvironmentType>(
                            "EnvironmentType",
                            property =>
                            {
                                property.DefaultValue = EnvironmentType.Development;
                                property.Attributes.Add(new RequiredAttribute());
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::EnvironmentType");
                            });

                        tenant.AddOrUpdateProperty<StructureType>(
                            "StructureType",
                            property =>
                            {
                                property.DefaultValue = StructureType.Warehouse;
                                property.Attributes.Add(new RequiredAttribute());
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::StructureType");
                            });

                        tenant.AddOrUpdateProperty<string>(
                            "Description",
                            property =>
                            {
                                property.Attributes.Add(new StringLengthAttribute(MultiTenancyConsts.DescriptionMaxLength));
                                property.UI.OnTable.IsVisible = false;
                                property.DisplayName = LocalizableString.Create<ZiplineResource>("::Description");
                            });
                    });
                });

<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="3.2.1" />

Ignoring it may be an option, but it spams the log file with these messages every 5-10 seconds. This issue showed up after upgrading from 8.1.4 to 8.2.1. In the meantime, since it does not appear to be affecting the user experience, I will configure the logs to filter these messages.

The Abstractions package was already implicitly referenced in several of the projects. I explicitly added it to the *Domain.Shared project but that had no affect. I am still getting the warnings. I also tried putting the explicit reference in the HttpApi.Host project and tried explicitly referencing Volo.Abp.AspNetCore in the HttpApi.Host project. In all cases, I still get the warning/error shown below.

[13:16:56 WRN] Could not load type 'Volo.Abp.AspNetCore.WebClientInfo.IWebClientInfoProvider' from assembly 'Volo.Abp.AspNetCore, Version=8.2.1.0, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'Volo.Abp.AspNetCore.WebClientInfo.IWebClientInfoProvider' from assembly 'Volo.Abp.AspNetCore, Version=8.2.1.0, Culture=neutral, PublicKeyToken=null'. at Volo.Abp.AspNetCore.SignalR.Auditing.AspNetCoreSignalRAuditLogContributor.PreContribute(AuditLogContributionContext context) at Volo.Abp.Auditing.AuditingHelper.ExecutePreContributors(AuditLogInfo auditLogInfo) [13:16:56 WRN] Could not load type 'Volo.Abp.AspNetCore.WebClientInfo.IWebClientInfoProvider' from assembly 'Volo.Abp.AspNetCore, Version=8.2.1.0, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'Volo.Abp.AspNetCore.WebClientInfo.IWebClientInfoProvider' from assembly 'Volo.Abp.AspNetCore, Version=8.2.1.0, Culture=neutral, PublicKeyToken=null'. at Volo.Abp.AspNetCore.SignalR.Auditing.AspNetCoreSignalRAuditLogContributor.PreContribute(AuditLogContributionContext context) at Volo.Abp.Auditing.AuditingHelper.ExecutePreContributors(AuditLogInfo auditLogInfo)

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

After upgrading to v8.2.1, I am getting a warning in my logs.

There are no errors that I see, just the warning. Did we miss something in an upgrade or is this an issue in the Volo packages? I have checked that all packages are v8.2.1 and we didn't miss anything.

Question
  • ABP Framework version: v8.2.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have installed the latest version of ABP Studio (0.7.4). This includes the latest release of the new CLI and have updated ABP Suite to 8.2.1. If I create a new solution, all the ABP packages are 8.2.1 as expected. When I update the existing solution using ABP Studio, ABP Suite and the ABP CLI, the version only goes to 8.2.0.

What do I need to do to upgrade my existing solution packages references to 8.2.1?

It was already using the AbpUnitTestSqliteConnection but it was not disabling the UnitOfWorkTransaction. I added the following line to the CmsKitProEntityFrameworkCoreTestModule ConfigureServices method.

context.Services.AddAlwaysDisableUnitOfWorkTransaction();

I haven't seen it fail since in the new project.

Question
  • ABP Framework version: v8.2.0
  • UI Type: Blazor Web App
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Running the unit tests fails randomly. This is related to issue #4545 https://support.abp.io/QA/Questions/4545/Unit-tests-fail-randomly-in-v701 This has never been resolved. We took the steps in that ticket and reduced the frequency, but it is still occurring across multiple projects.

The error shown below is from a baseline project with very little customization at this point. We added the CMS Kit Pro via source code to the project.

Run dotnet test --configuration Release --no-build Test run for /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.Application.Tests/bin/Release/net8.0/Volo.CmsKit.Pro.Application.Tests.dll (.NETCoreApp,Version=v8.0) Test run for /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.Domain.Tests/bin/Release/net8.0/Volo.CmsKit.Pro.Domain.Tests.dll (.NETCoreApp,Version=v8.0) Microsoft (R) Test Execution Command Line Tool Version 17.10.0 (x64) Copyright (c) Microsoft Corporation. All rights reserved.

Starting test execution, please wait... Microsoft (R) Test Execution Command Line Tool Version 17.10.0 (x64) Copyright (c) Microsoft Corporation. All rights reserved.

A total of 1 test files matched the specified pattern. Starting test execution, please wait... A total of 1 test files matched the specified pattern. [xUnit.net 00:00:10.31] Volo.CmsKit.Pro.Newsletters.NewsletterRecordManager_Tests.GetNewsletterPreferencesAsync [FAIL] Failed Volo.CmsKit.Pro.Newsletters.NewsletterRecordManager_Tests.GetNewsletterPreferencesAsync [1 ms] Error Message: Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.CmsKit.Pro.CmsKitProTestBaseModule, Volo.CmsKit.Pro.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: SqliteConnection does not support nested transactions.. See the inner exception for details. ---- System.InvalidOperationException : SqliteConnection does not support nested transactions. Stack Trace: at Volo.Abp.Modularity.ModuleManager.InitializeModules(ApplicationInitializationContext context) at Volo.Abp.AbpApplicationBase.InitializeModules() at Volo.Abp.AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) at Volo.Abp.Testing.AbpIntegratedTest1..ctor() at Volo.CmsKit.Pro.CmsKitProTestBase1..ctor() at Volo.CmsKit.Pro.CmsKitProDomainTestBase..ctor() at Volo.CmsKit.Pro.Newsletters.NewsletterRecordManager_Tests..ctor() in /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.Domain.Tests/Newsletters/NewsletterRecordManager_Tests.cs:line 15 at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ----- Inner Stack Trace ----- at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel, Boolean deferred) at Microsoft.Data.Sqlite.SqliteConnection.BeginTransaction(IsolationLevel isolationLevel) at Microsoft.Data.Sqlite.SqliteConnection.BeginDbTransaction(IsolationLevel isolationLevel) at System.Data.Common.DbConnection.BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList1 entriesToSave, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.EntityFrameworkCore.AbpDbContext1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken) at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.CmsKit.Pro.CmsKitProTestBaseModule.<>c__DisplayClass4_0.<<SeedTestData>b__0>d.MoveNext() in /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.TestBase/CmsKitProTestBaseModule.cs:line 90 --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) at Nito.AsyncEx.AsyncContext.Run(Func1 action) at Volo.Abp.Threading.AsyncHelper.RunSync(Func`1 action) at Volo.CmsKit.Pro.CmsKitProTestBaseModule.SeedTestData(ApplicationInitializationContext context) in /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.TestBase/CmsKitProTestBaseModule.cs:line 86 at Volo.CmsKit.Pro.CmsKitProTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) in /home/runner/work/OtisEd.Artifact.Blazor/OtisEd.Artifact.Blazor/modules/Volo.CmsKit.Pro/test/Volo.CmsKit.Pro.TestBase/CmsKitProTestBaseModule.cs:line 81 at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) at Volo.Abp.Modularity.ModuleManager.InitializeModules(ApplicationInitializationContext context)

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