Starts in:
1 DAY
19 HRS
52 MIN
59 SEC
Starts in:
1 D
19 H
52 M
59 S
Open Closed

Bugs & Issues v5.X #2209


User avatar
0
alper created
Support Team Director

To update both ABP CLI and ABP Suite to the latest preview, run the following command:

dotnet tool update -g Volo.Abp.Cli --version *-rc* && abp suite update --preview

v5.0 Preview ABP Framework Version Notes https://blog.abp.io/abp/ABP-IO-Platform-5.0-RC-1-Has-Been-Released


103 Answer(s)
  • User Avatar
    2
    alper created
    Support Team Director
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) autocomplete item.DisplayName null exception on edit modal"
    • looks like something else is changed in Blazorise

    We'll check this

  • User Avatar
    0
    Emanuele.Filardo created

    5.0.0-rc2 highlight of menu item with NavigationManager.NavigateTo()

    Those highlights menu item: /page /page?id=12345 /page?12345

    This doesn't work: /page/12345

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    https://support.abp.io/QA/Questions/2209#answer-2ff13a81-fdaf-5f46-f0da-3a00b902c975

    I could not reproduce this problem. Here are my steps:

    1.abp new BzTestApp -csf -d mongodb --preview -u blazor 2. I run BzTestApp.DbMigrator 3. I run abp suite command then create the Author entity and Book entity. Also, the Author entity has a Navigation property to the Book entity. I configured the navigation property as Required marked and UI pick type set to typehead.

    Here are the configuration files of my entities created by Suite:

    Then I run the app.

    PS: Both Suite and the app I created have version v5.0.0-rc.2

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    5.0.0-rc2 highlight of menu item with NavigationManager.NavigateTo()

    Those highlights menu item: /page /page?id=12345 /page?12345

    This doesn't work: /page/12345

    We generally solved the active menu item problem. But for now, it will not work on the following patterns:

    /users/{id} /catalog/dresses/{CATALOG_ID}

  • User Avatar
    0
    cellero created

    ABP Framework version: v5.0.0-rc2 UI type: Blazor Server DB provider: EF Core Steps to reproduce the issue:"generate entity with required navigation property when there are nullable / not required properties on the entity" The build fails because "Optional parameters must appear after all required parameters" If the required navigation property is moved above the nullable items in the Domain entity definition the the build is successful.

  • User Avatar
    0
    Emanuele.Filardo created

    ABP Framework version: v5.0.0-rc2 UI type: Blazor Still missed linked account in home page https://support.abp.io/QA/Questions/1543/Bugs--Issues-v44X#answer-c7d2c535-cb4a-2e75-7d4d-39fe3c9f14bd

    Home page

    My Account page

  • User Avatar
    0
    improwise created

    Newly created Blazor Server solution with ABP and ABP Suite 5.0 still won't build in VS2019, only in VS2022

    Severity Code Description Project File Line Suppression State Error CS1576 The line number specified for #line directive is missing or invalid MIBS.Blazor M:\P............\obj\Debug\net5.0\Razor\Components\Layout\MainFooterComponent.razor.g.cs 111 Active

    (Same problem as with 4.4.4)

    Edit: Apparently, ABP CLI 5.0 and ABP Suite 5.0 still creates solutions with 4.4.4 NuGets...

  • User Avatar
    0
    christophe.baille created

    After updating ABP suite and tool to 5.0.0, it still use the templates 4.4.4, it was like this while using 5-rc release too.

    I was then adding the version to select the RC one, but now I get an error message when I give the version 5.0.0. If I put version 5.0.0-rc.2 it still works fine

  • User Avatar
    0
    gvnuysal created

    Hi support,

    Can you add the user's first and last name to the abp commercial version?

    We use ANGULAR as the UI screen.

  • User Avatar
    0
    Dicky.tech@gmail.com created

    Hello

    Any guide on how to use the lepton x theme ? i have abp 5.0

  • User Avatar
    0
    jkrause created

    Adding a module to a freshly generated website using ABP Suite v5.0.0 (Stable) yields the following error:

    Error occurred while adding the module "Acme.Abp.Crm" to the solution "AcmeProject"...

    Could not find a class derived from AbpModule in the project '<path-to-project>/<project-name>.csproj'.

    This while there is a fully functional project and the AcmeAbpModule.cs file is located in the root of that location and is inheriting the AbpModule class, as it is a completely unmodified new project created by ABP Suite.

    In addition, despite the error, the module is created in the .\modules\Acme.Abo.Crm location, and the csproj file is modified to load it. However, upon inspecting the file, it assumes that the project can be referenced as a NuGet package with version 5.0.0 as the assumed version?

    In ABP Suite 5.0.0-rc.2 <ProjectReference Include="..\..\modules\Acme.Abp.Crm\src\Acme.Abp.Crm.Web\Acme.Abp.Crm.Web.csproj" />

    In ABP Suite 5.0.0 (Stable) <PackageReference Include="Acme.Abp.Crm.Web" Version="5.0.0" />

    This breaks all the generated code in the project and logically it will not compile anymore. What am I missing here? Maybe it's time for a reboot..

  • User Avatar
    0
    zhongfang created

    I created a module solution named Yee.EasyComment. Use 'dotnet build' to build all projects. Then I use 'dotnet pack' to build all nupkg packages. Then I push all packages to Nexus.

    I reference above module in an solution created by ABP Suite. When I start the project in Debug mode via VS 2022, I got below exception

    [13:30:33 INF] Starting web host.
    [13:30:34 FTL] Host terminated unexpectedly!
    System.IO.DirectoryNotFoundException: C:\Users\David\.nuget\packages\yee.easycomment.blazor\2021.12.913\staticwebassets\   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
       at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.&lt;&gt;c.&lt;UseStaticWebAssetsCore&gt;b__1_0(String contentRoot)
       at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
       at Microsoft.AspNetCore.WebHost.<>c.<ConfigureWebDefaults>b__9_0(WebHostBuilderContext ctx, IConfigurationBuilder cb)   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass9_0.<ConfigureAppConfiguration>b__0(HostBuilderContext context, IConfigurationBuilder builder)
       at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
       at Microsoft.Extensions.Hosting.HostBuilder.Build()
       at Yee.Change.Brain.Blazor.Program.Main(String[] args) in D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\Program.cs:line 32
    
    D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\bin\Debug\net6.0\Yee.Change.Brain.Blazor.exe (进程 36008)已退出,代码为 1。
    
  • User Avatar
    0
    alper created
    Support Team Director

    @christophe.baille I couldn't reproduce it. Can you try to login via CLI.

  • User Avatar
    0
    alper created
    Support Team Director

    @jkrause if you are trying use ABP v5.0 stable on a ABP v5.0 (RC) version it'll not work as expected. Suite and your ABP version must be the same.

  • User Avatar
    0
    alper created
    Support Team Director

    @zhongfang after .NET 6, Microsoft changed the dotnet pack command behaviour, you need to check this https://stackoverflow.com/questions/69500315/wwwroot-directory-is-not-copied-to-the-tools-net6-0-any-directory-in-a-nuget-pac

  • User Avatar
    0
    jkrause created

    @albert

    You misread my comment completely. I am showing you the before and after from using RC and then Stable. It changes the make-up of the csproj files by adding modules directly as NuGet packages instead of project references.

  • User Avatar
    0
    alper created
    Support Team Director

    @albert

    You misread my comment completely. I am showing you the before and after from using RC and then Stable. It changes the make-up of the csproj files by adding modules directly as NuGet packages instead of project references.

    ok we'll check it again

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @jkrause

    I've followed the commands below and didn't see any error.

    abp new Acme.BookStore -t app-pro

    abp add-module Acme.Abp.Crm -t module-pro --new


    Actually error with the package referencing is probably the result of the previous error (Could not find a class derived from AbpModule in the project '<path-to-project>/<project-name>.csproj').

    Which project that AbpModule couldn't be found in? web, application, domain etc? ('<path-to-project>/<project-name>.csproj')

  • User Avatar
    0
    Sturla created

    I needed (I think) to add the following web.config to the HttpApi.Host project to increase upload size with the following config

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    
      <!-- To customize the asp.net core module uncomment and edit the following section. 
      For more info see https://go.microsoft.com/fwlink/?linkid=838655 -->
      <!--
      <system.webServer>
        <handlers>
          <remove name="aspNetCore"/>
          <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
        </handlers>
        <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
      </system.webServer>
      -->
      <location path="Recording/recording-upload">
        <system.webServer>
          <security>
            <requestFiltering>
              <requestLimits maxAllowedContentLength="4096000" />
            </requestFiltering>
          </security>
        </system.webServer>
      </location>
    </configuration>
    

    And then I get this error when running the app with Azure Appservice

    2021-12-21 13:54:57.472 +00:00 [ERR] Connection ID "17509995361417066312", Request ID "80007749-0002-f300-b63f-84710c7967bb": An unhandled exception was thrown by the application.
    Volo.Abp.Http.Client.AbpRemoteCallException: Not Found
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
       at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync()
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0()
       at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
       at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
       at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
       at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
       at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
    

    I haven't tried to upload a bigger file than 30 MB but if that doesn´t work without the web.config file I´ll need some way to add it. But I´ll try that tomorrow.

  • User Avatar
    0
    alper created
    Support Team Director

    for the StaticWebAssets not found problem, I can say, Microsoft has changed the behavior of packing libraries, pls check these links

    • https://github.com/dotnet/aspnetcore/issues/38596
    • https://github.com/dotnet/aspnetcore/issues/21536
    • https://github.com/dotnet/aspnetcore/issues/37095
    • https://github.com/dotnet/aspnetcore/issues/36740
    • https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+StaticWebAssets+pack
  • User Avatar
    0
    trendline created

    The FileManagement module with abp ver 5.0.0, when download the uploaded file Access the download link "https://localhost:44302/api/file-management/file-descriptor/download/580dc21e-c971-1ab1-d7ad-3a00f84c15bc?token=4f18829e-f70b-4088-b039-333b705a08d8" it says unauthorized "{"error":{"code":"Unauthorized","message":"Unauthorized","details":null,"data":null,"validationErrors":null}}" But all the permissions already assigned for file management module.

    Can you help me figure out is there special permission for the download api?

  • User Avatar
    0
    willignicolas@gmail.com created

    Hello,

    Thanks for your great work Abp team.

    We have migrate from 4.3 to 5.0 and see a big style difference on button light.

    It's a normal change? The background is now gray and not changing on mouse over.

    On 4.3 :

    .btn-light {
        color: [#212529](https://abp.io/QA/Questions/212529);
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }
    

    On 5.0

    .btn-light {
        color: #000;
        background-color: #eee;
        border-color: #eee;
        box-shadow: 0px 0px 30px rgb(8 20 73 / 10%);
    }
    

    We can see an evolution on radio and checkbox too

    4.3

    5.0

    Lepton presentation website is ok (same as 4.3)

    Thanks for your help

    Nicolas

  • User Avatar
    0
    mc86 created

    abp suite in Load Entity From Database page ,get errors when connecting to database (approximate 2000 tables in the database) test connect is fine

  • User Avatar
    0
    Sturla created

    Suite is now forcing me to remove TenantId column in a none multitenant table (doesn´t inherit from IMultiTenant)!

    Invalid property names! You need to remove the following properties which are reserved properties and come with ABP base classes: TenantId

    The thing is I need that column (I'm currently using it) to know what tenant created the record in that table.

    The content is available for every other tenant on a central index page (showing stuff from all tenants) and then also used to display just what the individual tenant created on their subdomain page.

    Why do you need to restrict this?

    And what do you recommend here?

    1. Make all the entities IMulitTenant and disable the MulitTenant part where needed?
      1. If I do this and update all my repository method get tenantId removed from them so I can´t filter after tenantId...
    2. Change the column to TenantCreatorId (CreatedByTenantId) ?
  • User Avatar
    0
    Sturla created

    For some reason all my EF Core repository tests are failing (like https://github.com/abpframework/abp/issues/10822) with the following exception

    Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Beinni.BeinniTestBaseModule, Beinni.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: String reference not set to an instance of a String. (Parameter 's'). See the inner exception for details.
    ---- System.ArgumentNullException : String reference not set to an instance of a String. (Parameter 's')
    

    And that is after I had to add the following code in TestBaseModule as recommended after I started getting SqliteConnection does not support nested transactions..

    Configure<AbpUnitOfWorkDefaultOptions>(options =>
    {
        options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
    });`
    
    

    I also tried this this approach but still this ""String reference.. " error.

    And its not this either.

    I have re-compared everything and there aren´t any changes in the test projects that I'm missing.

    Any ideas?

    The full stack trace is this

    Stack Trace:  ModuleManager.InitializeModules(ApplicationInitializationContext context) AbpApplicationBase.InitializeModules() AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) AbpIntegratedTest1.ctor() BeinniTestBase1.ctor() BeinniEntityFrameworkCoreTestBase.ctor() BankInformationRepositoryTests.ctor() line 15 RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ----- Inner Stack Trace ----- Encoding.GetBytes(String s) UserCustomerSyncronizer.Sign(String method, String urlPath, String salt, Int64 timestamp, String body) line 111 UserCustomerSyncronizer.MakeRequestAsync(Method method, String urlPath, String body) line 80 UserCustomerSyncronizer.HandleEventAsync(EntityCreatedEto1 eventData) line 42 EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List1 exceptions, InboxConfig inboxConfig) AbpExceptionExtensions.ReThrow(Exception exception) EventBusBase.ThrowOriginalExceptions(Type eventType, List1 exceptions) EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData) LocalEventBus.PublishAsync(LocalEventMessage localEventMessage) LocalEventBus.PublishToEventBusAsync(Type eventType, Object eventData) EventBusBase.PublishAsync(Type eventType, Object eventData, Boolean onUnitOfWorkComplete) UnitOfWorkEventPublisher.PublishDistributedEventsAsync(IEnumerable1 distributedEvents) UnitOfWork.CompleteAsync(CancellationToken cancellationToken) UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) &lt;&lt;SeedTestData&gt;b__0>d.MoveNext() line 62 --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) &lt;&gt;c__DisplayClass15_0.&lt;Run&gt;b__0(Task t) ContinuationTaskFromTask.InnerInvoke() &lt;.cctor&gt;b__272_0(Object obj) ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) AsyncContext.Run(Func1 action) AsyncHelper.RunSync(Func1 action) BeinniTestBaseModule.SeedTestData(ApplicationInitializationContext context) line 58 BeinniTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) line 53 OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) ModuleManager.InitializeModules(ApplicationInitializationContext context)

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06