Aktivity „darutter“

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

I have updated a .NET Core 7.0 / Abp version 7.4.0 of my commercial ABP application to .NET 8.0 / ABP version 8.0.1. The application will compile correctly, but when I attempt to run the application or generate a new migration script I get the following error. I have looked at the migration documentation but cannot find anything that helps address this issue.

Exception: Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictDomainModule, Volo.Abp.OpenIddict.Domain, Version=7.4.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.TypeLoadException: Method 'GetApplicationTypeAsync' in type 'OpenIddict.Core.OpenIddictApplicationManager1' from assembly 'OpenIddict.Core, Version=4.8.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f' does not have an implementation. at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder) at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder, Action1 configuration) at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.AddOpenIddictCore(IServiceCollection services) at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.ConfigureServices(ServiceConfigurationContext context) at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction) at Module.Web.Program.Main(String[] args) in Z:\Projects\StatAlert_Core\aspnet-core\src\Module.Web\Program.cs:line 36 An error occurred while accessing the Microsoft.Extensions.Hosting services. Continuing without the application service provider. Error: The entry point exited without ever building an IHost. Unable to create a 'DbContext' of type 'ModuleDbContext'. The exception 'Method not found: 'Int32 Volo.Abp.OpenIddict.Applications.OpenIddictApplicationConsts.get_TypeMaxLength()'.' was thrown while attempting to create an instance. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728

  • ABP Framework version: v7.4.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: I have a MAUI app that generates an error (ArgumentNullException) when it attempts to login because the AccessToken and RefreshToken are both null after the call to:

await _storage.GetAsync(<appContstants>.OidcConsts.RefreshTokenKeyName);

The call to the same function using the AccessTokenKeyName returns a token that has expired, but the subsequent call using the RefreshTokenKeyName returns null values. How can I get the RefreshToken to return a valid set of tokens?

Using your example, when you click the "New Page" action I would want to go to the User list as though you had clicked on the Administration...Identity Management...Users menu option.

  • ABP Framework version: v7.4.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have a situation where I need to navigate to another Index page from a different Index page. In the Index.js file I have put a new item in the rowAction section to execute the transition. This is how I am currently trying to do it:

{ text: "New page", action: function(data) { window.open("../../NewPage?id=" + data.record.id); } }

The problem I have is that it navigates to the page but the associated javascript file doesn't get loaded and none of that page's actions (from the Action menu) function. Also the dateable associated with the Index page should not be paged but the page only displays the first 10 items and will not display the additional items.

How do I perform the transition to the NewPage.Index and have it function properly.

david@theapppros.com

  • ABP Framework version: v7.4.0 Commercial
  • UI Type: MVC
  • 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:

I am trying to override the CreateModal and EditModal .cshtml files for Identity/Users and am running an issue. I have extended the Volo.Abp.Identity.IdentityUser to include several additional properties. I have been able to restructure the modals for both the create and edit actions but cannot get the Roles that are assigned to apply properly on the form close. Since the source code for this module is not provided I cannot copy or know exactly how the role assignments are made. Please provide what the proper way to get the roles assignment is.

  • ABP Framework version: v7.3.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Assets file <projectPath>/<project>.Domain.Shared/obj/project.assets.json doesn't have a target for 'net7.0-ios'. Ensure that restore has run and that you have included 'net7.0-ios' in the TargetFramworks for your project.

This error occurs when I attempt to archive the iOS version of the MAUI app. This same issue has happened in previous versions of abp.io. How can I successfully archive my MAUI app using Visual Studio for Mac?

I can create an .ipa file using the dotnet publish command, but the archive that gets generated is failing once it is deployed to the app store. According to other sources Visual Studio for Mac should be able to generate an archive for iOS now.

Please advise.

  • ABP Framework version: v7.3.3
  • UI Type:MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have a MAUI app that was created using v7.3.3 that compiles successfully when I target my iOS phone, but when I attempt to compile the app targeting my android device it get 100 errors all related to androidx components or symbols not being found. Below are a couple examples.

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc64396a3fe5f8138e3f/CustomTabsServiceConnectionImpl.java(37,37): Error JAVAC0000: error: cannot find symbol extends androidx.browser.customtabs.CustomTabsServiceConnection symbol: class CustomTabsServiceConnection location: package androidx.browser.customtabs (JAVAC0000) (BCFOAssistant.Maui) javac

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/ItemsViewAdapter_2.java(51,51): Error JAVAC0000: error: package androidx.recyclerview.widget.RecyclerView does not exist extends androidx.recyclerview.widget.RecyclerView.Adapter (JAVAC0000) (BCFOAssistant.Maui) javac

/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/VisualElementRenderer_1.java(28,28): Error JAVAC0000: error: cannot find symbol extends com.microsoft.maui.MauiViewGroup symbol: class MauiViewGroup location: package com.microsoft.maui (JAVAC0000) (BCFOAssistant.Maui) javac

I am running this on my MAC which was just updated to the latest MAC-OS and Xcode 15. I have been working on the iOS version and only today attempted to build the android version, so I don't know if this is an issue with the updates or if it has always been an issue.

Any assistance would be appreciated.

Odpoveď

Thank you for your assistance.

Odpoveď

That works fine if there is only one element in the associated datasets. My issue is there are many items in each of the associated datasets. For example in your case, Anjali might have 3 elements in ItemSet1 and 2 elements in ItemDataset2. The results I want to get would be:

Anjali | Plot1 | City 1 | MH | 123456 | element 1 of item1 | element 2 of item1 | element 3 of item1 | element 1 of item2 | element 2 of item2

where the elements of each dataset would be added to the row

Zobrazených 31 až 40 z 94 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11