- ABP Framework version: v8.2.0
- UI Type: Angular / MVC / Blazor WASM
- 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 generated a solution with v8.1.3. It worked fine. Today, I updated the solution to v8.2.0. After that, there are some build errors "CS1729 'LanguageInfo' does not contain a constructor that takes 4 arguments". It arounds line 57-73 in DomainModule.cs. I found there is no FlagIcon parameter in LanguageInfo class constructor and ILanguageInfo interface on v8.2.0.
Is it a bug or by design?
7 Answer(s)
-
0
Hi,
yes ,this is by design
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
https://github.com/abpframework/abp/pull/19222 https://docs.abp.io/en/commercial/8.2/migration-guides/v8_2#removed-flag-icon-from-language-management-module
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Your 1st link above clearly tells how to fix our current code to adapt this update. Thank you!
The 2nd link mentions another new feature, Session Management feature. MyDbContext now shows an error message saying it "does not implement interface member 'IIdentityDbContext.Sessions'". Is it related to this new feature? How do I "create a new migration"?
Do you have a document about the best practice to update the solution along with updating Volo NuGet packages?
Thanks,
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
You need to implement the interface member first, and add/apply a new migration file.
See https://docs.abp.io/en/commercial/latest/modules/identity/session-management
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Ok. I dug it out the type of IdentitySession from assembly and solved this issue. Now the HttpApi.Host seems running good. However, I got errors while Blazor site loading.
"Error: One or more errors occurred. (An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule, Volo.Abp.AspNetCore.Components.WebAssembly, Version=8.2.0.0, Culture=neutral, PublicKeyToken=null: Could not find 'abp.utils.removeOidcUser' ('removeOidcUser' was undefined). Error: Could not find 'abp.utils.removeOidcUser' ('removeOidcUser' was undefined)."
It looks like missing a package "removeOidcUser". I've tried to run abp update again, but it's no help. Please advise.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
You are using the webassembly UI right?
you can try update blazor bundle files
abp bundleMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
It works as expected. Thank you!
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)