In the language key "DropPaste", there is a hardcoded tag "{browse}" that it's been used to translate to a hyperlink that helps select files in the computer.
But in the Spanish language, the "{browse}" tag is wrongly translated to "{navegar}" and that it's causing to break the hyperlink functionality
Instead of the hyperlink as shown here.
A workaround to solve this is to modify the translation for the Spanish language and replace "{navegar}" back to "{browse}".
This happens in these two keys. "DropPasteImport": "Suelta los archivos aquí, pégalos, %{navegar} o impórtalos desde", "DropPaste": "Suelta los archivos aquí, pégalos o %{navegar}",
Added another bug found in lepton X version 2.3.0-rc.3
If you navigate to https://localhost:44344/Identity/Roles
You get the following error in the console
I figure it out that it's caused here.
If I modify
ProfileImageUrl = $"api/account/profile-picture-file/{CurrentUser.Id}",
for this
ProfileImageUrl = $"/api/account/profile-picture-file/{CurrentUser.Id}",
It solves the issue.
Hello,
I am trying the new version 7.3.0.
The new login design is not fully responsive in a desktop application. When I tried to login, the button is half-cut and the scrollbar is deactivated.
I attached a video to describe the issue. https://www.loom.com/share/559ffd5537dd474caa0644fabc95fa35
There are also some Console Errors showing up like a missing SVG file and a missing moment.min.js.map file
The new version (v7.3.0) is still using the LeptonX theme version 2.3.0--rc.3. When the final version of v2.3.0 is going to be released?
Thanks.
The modules generated from ABP Suite comes by default with
<Nullable>enable</Nullable>
but the Entities generated with ABP Suite don't follow the Nullable configuration.
Properties are still mapped with
public string MyProperty { get; set; }
instead of
public string? MyProperty { get; set; }
Or method with the following structure
Task<List<DemoModel>> GetListAsync(
string filterText = null,
string code = null,
string name = null,
string sorting = null,
int maxResultCount = int.MaxValue,
int skipCount = 0,
CancellationToken cancellationToken = default
);
This is causing more than 100+ warnings in the compiler because it's not following the Nullable configuration and it requires a lot of code change in the templates of Abp Suite to solve all those warnings.
Is there a chance to disable by default the <Nulllable> Configuration when creating a module or could you please provide us a template for the AbpSuite with this fixes?
Thanks.
I am also interested in this. I had to do it manually by changing LeptonX source code but didn't know there was an implementation to do it in code.
Hi, It would be great to only have one support website (free and commercial) to bug report issues and problems. It will help a lot to search for answers already solved for someone else. Also, it would be great to be opened to the community so anyone can answer your questions. You can add a "Private" feature where you can submit a private issue where you can discount the number of premium support tickets that we have assigned based on our license. You can also add the privilage to request a premium support but keep it open for the community too. It will help to increase the interaction between users and growth the community.
Thanks.
ABP Framework version: v7.2.2
UI type: MVC
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
Steps to reproduce the issue:
Create a MVC non tiered application using EntityFramework Core with PostgreSQL
Create a new Module using ABP Suite (Check on add to the solution feature)
Confirm that there is no localization in Displayname in the following path
YourSolution\Modules\src\ModuleName.Web\Menus\ModuleNameMenuContributor.cs
It should contain a variable with the Localization feature like the following image.
If this is not added. It will not use the "Menu:DemoModule" localization strings in any of the JSON files for the different languages.
Can you share your dockerfile and docker-compose?
I created a Loom Video to show how it looks like. https://www.loom.com/share/dcd2099a82224d5d8f77ea888b3bacde?sid=96ffd3f0-be8f-4e49-97a0-1faa907c813b
Hi liangshiwei,
I send you the email. I was able to reproduce the same issue in a clean new project getting the same exact exception in logs.
`2023-02-27 17:12:47.573 -05:00 [INF] Route matched with {page = "/SettingManagement/Index", area = "", action = "", controller = ""}. Executing page /SettingManagement/Index
2023-02-27 17:12:47.573 -05:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2023-02-27 17:12:47.581 -05:00 [INF] Antiforgery token validation failed. The antiforgery token could not be decrypted.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
---> System.Security.Cryptography.CryptographicException: The key {1daaca96-1e09-4694-8e2c-8bbc5a689861} was not found in the key ring. For more information go to http://aka.ms/dataprotectionwarning
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.DeserializeTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet, AntiforgeryToken& cookieToken, AntiforgeryToken& requestToken)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
2023-02-27 17:12:47.582 -05:00 [INF] Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter'.
2023-02-27 17:12:47.586 -05:00 [INF] Executing StatusCodeResult, setting HTTP status code 400
2023-02-27 17:12:47.586 -05:00 [INF] Executed page /SettingManagement/Index in 12.8423ms
2023-02-27 17:12:47.586 -05:00 [INF] Executed endpoint '/SettingManagement/Index'
2023-02-27 17:12:48.279 -05:00 [INF] Request finished HTTP/1.1 POST http://localhost:44359/SettingManagement?handler=RenderView&id=Volo.Abp.EmailSetting - 0 - 302 - - 711.1064ms
2023-02-27 17:12:48.284 -05:00 [INF] Request starting HTTP/1.1 GET http://localhost:44359/Error?httpStatusCode=400 - -
2023-02-27 17:12:48.292 -05:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)'
2023-02-27 17:12:48.299 -05:00 [INF] Route matched with {action = "Index", controller = "Error", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(Int32) on controller Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared).`