Ends in:
2 DAYS
15 HRS
29 MIN
6 SEC
Ends in:
2 D
15 H
29 M
6 S

Activities of "improwise"

Sadly, ABP Suite is completely broken currently for Blazor as reported in several other threads here like this one and in the sticky for 4.4.4

https://support.abp.io/QA/Questions/2124/ABP-Suite-broken-with-Blazor-Server-and-client

https://support.abp.io/QA/Questions/2109/VoloAbpAbpException-Undefined-permission

https://support.abp.io/QA/Questions/1543/Bugs--Issues-v44X#answer-23dbf383-327f-fea0-4c51-3a001cefbe40

The complete silence from the support team about this is worrying...

Can also add that doing the same thing as we tried to to in Blazor with a MVC project instead works perfectly including code generation for additional entities etc. So problems seem to be related to Blazor, but specific to the ABP Suite generated projects as the ones generated on your website works. Seems reasonable that it is the Lepthon theme perhaps that is the source of the problems, or perhaps the ABP Suite templates.

For some strange reason, we notice that the error messages seem to be truncated. Like:

[12:12:58 WRN] Unhandled exception rendering component: Undefined permission: IdentitySe

[2021-11-12T10:57:31.733Z] Error: Volo.Abp.AbpException: Undefined setting: Volo.Abp.LeptonTheme.Layout.MenuSta

[2021-11-12T11:17:40.335Z] Error: Volo.Abp.AbpException: Undefined permission: Saas.T�

Instead of IdentityServer and MenuStart etc. Please note that it is only the first row of the error message that is truncated, stack trace etc is printed out as it should, as in:

[2021-11-12T10:57:31.733Z] Error: Volo.Abp.AbpException: Undefined setting: Volo.Abp.LeptonTheme.Layout.MenuSta at Volo.Abp.Settings.SettingDefinitionManager.Get(String name) at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name) at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.LeptonSettingsProvider.GetMenuStatusAsync() at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.Navigation.MainMenuProvider.GetMenuAsync() at Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.MainHeader.MainHeader.OnInitializedAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

if it isn't only the error messages but rather the code itself, it seems reasonable that it wont find the settings, permissions etc.

Hi,

As reported here:

https://support.abp.io/QA/Questions/1543/Bugs--Issues-v44X

https://support.abp.io/QA/Questions/2109/VoloAbpAbpException-Undefined-permission

It seems like ABP Suite is currently broken with Blazor Server and client. We have a new project that was supposed to have started up yesterday but since we can't even create and run a fresh project in ABP Suite currently, it is still at a standstill. We would like some information about the status on this and possible solutions / work arounds. Thanks.

Initial post fron the bug thread for 4.4.4 but not sure if anyone is reading that as there are no replies there yet.

ABP Framework version: v4.4.4 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

After upgrading to ABP 4.4.4 we can no longer create working projects in ABP Suite (have no tried other methods). The DBMigrator runs fine on a newly created project (default options, .net 5, no preview) but at runtime we get

[17:46:09 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement

[17:46:10 WRN] Unhandled exception rendering component: Undefined permission: Audit Volo.Abp.AbpException: Undefined permission: Audit

and in the browser:

blazor.server.js?_v=637706942980000000:21 [2021-11-10T16:46:09.985Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

We have also since last time we tried using ABP Suite upgraded from VS2022 Preview to Current, but I don't think that is the cause of the problem here. Could possibly be related to .net updates also.

There is additional information in the 4.4.4 bug thread linked above.

Answer

ABP Framework version: v4.4.4 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

This line seem to appear in the obj/debug after having built a new Blazor server project created with ABP Suite in combination with an error which make the project not compile

#line (1,31)-(1,48) 24 "M:\Projects\ASP.NET\ABP\src\TEST1\aspnet-core\src\TEST1.Blazor\Components\Layout\MainFooterComponent.razor"

In VS2022 (both Preview and Current) the project seem to compile fine though, so not sure if this is an ABP problem or a Microsoft problem. All updated available to VS, .net etc have been installed.

Please have a look in the bug thread for 4.4.4 (isn't anyone from Volo reading that?) for my posts about what seems to be a very similar problem, newly created project with ABP Suite don't work because of missing permissions as well.

https://support.abp.io/QA/Questions/1543/Bugs--Issues-v44X

Short version, Blazor (client and server) seem to be broken currently even if you create a new project with default settings in ABP Suite and just try to run it after having executed DBMigrator.

Answer

ABP Framework version: v4.4.4 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

After upgrading to ABP 4.4.4 we can no longer create working projects in ABP Suite (have no tried other methods). The DBMigrator runs fine on a newly created project (default options, .net 5, no preview) but at runtime we get

[17:46:09 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement

[17:46:10 WRN] Unhandled exception rendering component: Undefined permission: Audit Volo.Abp.AbpException: Undefined permission: Audit

and in the browser:

blazor.server.js?_v=637706942980000000:21 [2021-11-10T16:46:09.985Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

We have also since last time we tried using ABP Suite upgraded from VS2022 Preview to Current, but I don't think that is the cause of the problem here. Could possibly be related to .net updates also.

Tried creating a project from the website and that seem to work, so only Commercial projects seem to be affected by this, so guessing maybe it is related to Lepton theme or something like that. MVC project seem to work find when created via ABP Suite but neither of the blazor templates seem to do.

Edit:

We tried to downgrade CLI and ABP Suite to 4.4.3 but that didn't change anything, maybe because it seems that they will still use ABP 4.4.4. packages in the created solution.

I hope that this can be fixed ASAP as it is currenlty impossible to create new working projects using blazor in ABP Suite it seems.

Edit 2:

This seem to be a repeating problem, we also see simliar errors like:

[13:45:21 ERR] Unhandled exception in circuit 'sF6jaNnBmq7Uz9BlWzCUc5UsyUK3S_RpvfUdCytjBok'. Volo.Abp.AbpException: Undefined permission: AbpId?

Edit 3:

Downgrading to 4.4.3 solved the problem kind of, but since ABP Suite always seem to default to latest packages, we had to create a new project with -t abp-pro -u blazor-server -v 4.4.4 and then add that to ABP Suite for it to work. If not, you still get the 4.4.4 packages even if ABP Suite and CLI installed is 4.4.3 it seems.

Answer

ABP Framework version: v4.4.4 UI type: Blazor Server DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

After upgrading to ABP 4.4.4 we can no longer create working projects in ABP Suite (have no tried other methods). The DBMigrator runs fine on a newly created project (default options, .net 5, no preview) but at runtime we get

[17:46:09 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement

[17:46:10 WRN] Unhandled exception rendering component: Undefined permission: Audit Volo.Abp.AbpException: Undefined permission: Audit

and in the browser:

blazor.server.js?_v=637706942980000000:21 [2021-11-10T16:46:09.985Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

We have also since last time we tried using ABP Suite upgraded from VS2022 Preview to Current, but I don't think that is the cause of the problem here. Could possibly be related to .net updates also.

  • ABP Framework version: v4.3.X
  • UI type: MVC / Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Where can I find a proper guide on how to debug the ABP Framework? For sake of argument, let's say that we are following the Blazer Server tutorial at https://docs.abp.io/en/abp/latest/Tutorials/Part-1?UI=BlazorServer&DB=EF and would like to debug for example the call to CreateEntityAsync?

Are we supposed to replace the packages with source code? If so, how is it supposed to be done in a effective way, I can't see any options in ABP Suite for it, just that some modules can be installed as source code rather than modules?

A general guide "How do debug your ABP application" would be nice.

Thanks.

Answer

When trying to create a new solution using ABP Suite we get:

Error occured while getting the latest version from https://abp.io/api/download/template/get-version/ : Remote server returns '500-Internal Server Error'. Message: An internal error occurred during your request! [12:56:10 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

Creating a new solution with same setup via abp.io (Community) seem to work.

Showing 231 to 240 of 248 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35