Activities of "zhongfang"

  • ABP Framework version: v8.3.0
  • UI Type: Blazor Server
  • Database System: EF Core (MySQL) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
[12:25:58 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
   at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
   at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
  • Steps to reproduce the issue:
  • Start blazor application with debug mode in VS 2022
  • go to this page https://localhost:44313/saas/host/editions
  • select a version, then click '功能‘
  • get above exception

I must mentioned that I didn't difine features for versions for many months. But I use ABP from 4.x.x to 8.3.0...

  • ABP Framework version: v8.3.0
  • **Blazor Server
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
MySqlConnector.MySqlException (0x80004005): Table '****.AbpSessions' doesn't exist
  • Steps to reproduce the issue: I upgrade my solution to 8.3.0. Perhaps I have added some module? Now I got above error.
  • ABP Framework version: v8.3.0
  • UI Type: Blazor Server
  • Database System: EF Core MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: There is a menu named 'ABP Suite' in ABP Studio toolbar. I clicked 'Change Version', and set the version to 8.3.0 Then I create a solution in ABP Studio. After I open the new solution created, I found athat all the volo.abp.* packages is 8.2.2 Why?
  • ABP Framework version: v8.1.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
[03:21:23 INF] The access_token is active.
[03:21:23 INF] Executing endpoint '/_Host'
[03:21:23 INF] Route matched with {page = "/_Host", action = "", controller = "", area = ""}. Executing page /_Host
[03:21:23 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
[03:21:23 INF] Antiforgery token validation failed. The required antiforgery header value "RequestVerificationToken" is not present.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery header value "RequestVerificationToken" is not present.
   at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
[03:21:23 INF] Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter'.
[03:21:23 INF] Executing StatusCodeResult, setting HTTP status code 400
[03:21:23 INF] Executed page /_Host in 0.279ms
[03:21:23 INF] Executed endpoint '/_Host'
  • Steps to reproduce the issue:
  • Create Application via ABP Suite, Tiered, Blazor Server
  • Deploy to Aliyun
  • Portal working correctly
  • OpenDict site working correctly. It means that I can login to portal via OpenDict site. I can login to Blazor Server site via OpenDict site.
  • I have a HttpApi, with no authentication. I can browse blazer page if I didn't login.
  • After I redirect to OpenDict site , login, then back to Blazor Server site. the same blazer page will failure with below exception.
  • ABP Framework version: v8.1.3
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I log in to Blazor Server application. and I want to set https://localhost:44346/openIddict/Applications. how to split multi URL? why not give some HINT in web UI?

waste 2 hours. hope your reply!

  • ABP Framework version: v8.1.0
  • Exception message and full stack trace: I have not configured two-factor authentication for my account. Now I staty at below picture. And can not continue.
  • Steps to reproduce the issue:
  • abp login username
ABP CLI 8.1.0
Password: Two factor authentication is enabled for your account. Please use `abp login --device` command to login.
PS V:\downloads\githubfast-main> abp login --device
ABP CLI 8.1.0
Open your browser, go to: "https://account.abp.io/connect/verify"
and enter the following one-time code:
8595-4011-****
  • open Firefox, visite https://account.abp.io/Account/SendSecurityCode?returnUrl=%2FAccount%2FManage&rememberMe=False
  • ABP Framework version: v8.0.5
  • UI Type: Blazor Server
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
[09:51:14 WRN] Unhandled exception rendering component: Value cannot be null. (Parameter 'stringLocalizer')
System.ArgumentNullException: Value cannot be null. (Parameter 'stringLocalizer')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Microsoft.Extensions.Localization.StringLocalizerExtensions.GetString(IStringLocalizer stringLocalizer, String name)
   at Volo.Abp.FeatureManagement.Blazor.Components.FeatureManagementModal.<>c__DisplayClass43_5.<BuildRenderTree>b__21(RenderTreeBuilder __builder9)
   at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
   at Blazorise.SelectItem`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
  • Steps to reproduce the issue:
  • I define many features while ABP 4.1 or later
  • All features I defined work very well. So I need not to maintain them.
  • I have not got into https://localhost:44313/saas/host/editions for more than 1 year
  • Now, I click functions for a edtion in above url, I got above exception.
  • ABP Framework version: v8.0.4
  • UI Type: Blazor Server
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • dotnet tool update -g volo.abp.cli
  • abp suite update
  • run abp install-libs under Blazor.Server.Host
  • start Debug under Visual Studio 2022
  • first page (not logged in) is confused
  • click 'log in' button. page is normal.

Question
  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
2024-02-06 22:41:28.225 +08:00 [INF] User profile is available. Using 'C:\Users\David\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.

=== ENTITY GENERATION STARTED === 
* SOLUTION: Yee.Change.Rms
* ENTITY:{
  "Id": "e1e644ee-3e78-4fd8-850d-d1bd4fe005d6",
  "Name": "RuleGroup",
  "OriginalName": "RuleGroup",
  "NamePlural": "RuleGroups",
  "DatabaseTableName": "RuleGroups",
  "Namespace": "Public.RuleGroups",
  "Type": 1,
  "MasterEntityName": null,
  "MasterEntity": null,
  "BaseClass": "FullAuditedAggregateRoot",
  "MenuIcon": "file-alt",
  "PrimaryKeyType": "Guid",
  "PreserveCustomCode": false,
  "IsMultiTenant": true,
  "CheckConcurrency": false,
  "ShouldCreateUserInterface": true,
  "ShouldCreateBackend": true,
  "ShouldExportExcel": false,
  "ShouldAddMigration": true,
  "ShouldUpdateDatabase": true,
  "CreateTests": true,
  "Properties": [
    {
      "Id": "eeb67653-e276-4c2a-97b0-763f035007eb",
      "Name": "Index",
      "Type": "int",
      "EnumType": "",
      "EnumNamespace": "",
      "EnumAngularImport": "shared/enums",
      "EnumFilePath": null,
      "DefaultValue": null,
      "IsNullable": false,
      "IsRequired": false,
      "AllowEmptyStrings": false,
      "IsTextArea": false,
      "MinLength": 0,
      "MaxLength": 99999999,
      "SortOrder": 0,
      "SortType": 0,
      "Regex": "",
      "EmailValidation": false,
      "ShowOnList": true,
      "ShowOnCreateModal": true,
      "ShowOnEditModal": true,
      "ReadonlyOnEditModal": false,
      "EnumValues": null,
      "IsSelected": true,
      "OrdinalIndex": 0
    },
    {
      "Id": "91caa501-4342-4bd5-b9c4-f293c36ee4ad",
      "Name": "GroupName",
      "Type": "string",
      "EnumType": "",
      "EnumNamespace": "",
      "EnumAngularImport": "shared/enums",
      "EnumFilePath": null,
      "DefaultValue": null,
      "IsNullable": false,
      "IsRequired": true,
      "AllowEmptyStrings": false,
      "IsTextArea": false,
      "MinLength": 2,
      "MaxLength": 50,
      "SortOrder": 0,
      "SortType": 0,
      "Regex": "",
      "EmailValidation": false,
      "ShowOnList": true,
      "ShowOnCreateModal": true,
      "ShowOnEditModal": true,
      "ReadonlyOnEditModal": false,
      "EnumValues": null,
      "IsSelected": true,
      "OrdinalIndex": 0
    },
    {
      "Id": "48d9d1ff-2497-4938-b1de-8331a52533df",
      "Name": "IsEnabled",
      "Type": "bool",
      "EnumType": "",
      "EnumNamespace": "",
      "EnumAngularImport": "shared/enums",
      "EnumFilePath": null,
      "DefaultValue": null,
      "IsNullable": false,
      "IsRequired": false,
      "AllowEmptyStrings": false,
      "IsTextArea": false,
      "MinLength": null,
      "MaxLength": null,
      "SortOrder": 0,
      "SortType": 0,
      "Regex": "",
      "EmailValidation": false,
      "ShowOnList": true,
      "ShowOnCreateModal": true,
      "ShowOnEditModal": true,
      "ReadonlyOnEditModal": false,
      "EnumValues": null,
      "IsSelected": true,
      "OrdinalIndex": 0
    },
    {
      "Id": "886c6504-0350-45da-a8f1-cdc876c7baad",
      "Name": "Desc",
      "Type": "string",
      "EnumType": "",
      "EnumNamespace": "",
      "EnumAngularImport": "shared/enums",
      "EnumFilePath": null,
      "DefaultValue": null,
      "IsNullable": false,
      "IsRequired": false,
      "AllowEmptyStrings": false,
      "IsTextArea": false,
      "MinLength": null,
      "MaxLength": 200,
      "SortOrder": 0,
      "SortType": 0,
      "Regex": "",
      "EmailValidation": false,
      "ShowOnList": true,
      "ShowOnCreateModal": true,
      "ShowOnEditModal": true,
      "ReadonlyOnEditModal": false,
      "EnumValues": null,
      "IsSelected": true,
      "OrdinalIndex": 0
    },
    {
      "Id": "2ab33cc4-642e-4f3e-8e43-dfe1c314379e",
      "Name": "Priority",
      "Type": "int",
      "EnumType": "",
      "EnumNamespace": "",
      "EnumAngularImport": "shared/enums",
      "EnumFilePath": null,
      "DefaultValue": null,
      "IsNullable": false,
      "IsRequired": true,
      "AllowEmptyStrings": false,
      "IsTextArea": false,
      "MinLength": null,
      "MaxLength": null,
      "SortOrder": 0,
      "SortType": 0,
      "Regex": "",
      "EmailValidation": false,
      "ShowOnList": true,
      "ShowOnCreateModal": true,
      "ShowOnEditModal": true,
      "ReadonlyOnEditModal": false,
      "EnumValues": null,
      "IsSelected": true,
      "OrdinalIndex": 0
    }
  ],
  "NavigationProperties": [
    {
      "EntityNameWithDuplicationNumber": "RuleSystem",
      "EntitySetNameWithDuplicationNumber": "RuleSystems",
      "ReferencePropertyName": "RuleSystem",
      "UiPickType": "Modal",
      "IsRequired": true,
      "Name": "RuleSystemId",
      "DisplayProperty": "Name",
      "Namespace": "Yee.Change.Rms.Public.RuleSystems",
      "EntityName": "RuleSystem",
      "EntitySetName": "RuleSystems",
      "DtoNamespace": "Yee.Change.Rms.Public.RuleSystems",
      "DtoEntityName": "RuleSystemDto",
      "Type": "Guid"
    }
  ],
  "NavigationConnections": [],
  "ChildEntities": [],
  "PhysicalFileName": "RuleGroup.json"
}

2024-02-06 22:41:53.525 +08:00 [INF] 1/16 - EntityGenerateCommand started...
2024-02-06 22:42:11.379 +08:00 [INF] 1/16 - EntityGenerateCommand completed.                           | Duration: 17853 ms.
2024-02-06 22:42:11.380 +08:00 [INF] 2/16 - RepositoryCommand started...
2024-02-06 22:42:11.817 +08:00 [INF] 2/16 - RepositoryCommand completed.                               | Duration: 437 ms.
2024-02-06 22:42:11.817 +08:00 [INF] 3/16 - ManagerCommand started...
2024-02-06 22:42:11.857 +08:00 [INF] 3/16 - ManagerCommand completed.                                  | Duration: 39 ms.
2024-02-06 22:42:11.857 +08:00 [INF] 4/16 - AppServiceCommand started...
2024-02-06 22:42:12.159 +08:00 [INF] 4/16 - AppServiceCommand completed.                               | Duration: 301 ms.
2024-02-06 22:42:12.159 +08:00 [INF] 5/16 - ProxyControllerCommand started...
2024-02-06 22:42:12.202 +08:00 [INF] 5/16 - ProxyControllerCommand completed.                          | Duration: 42 ms.
2024-02-06 22:42:12.202 +08:00 [INF] 6/16 - PermissionCommand started...
2024-02-06 22:42:12.281 +08:00 [INF] 6/16 - PermissionCommand completed.                               | Duration: 78 ms.
2024-02-06 22:42:12.281 +08:00 [INF] 7/16 - ApplicationObjectMappingCommand started...
2024-02-06 22:42:12.422 +08:00 [INF] 7/16 - ApplicationObjectMappingCommand completed.                 | Duration: 141 ms.
2024-02-06 22:42:12.422 +08:00 [INF] 8/16 - UnitTestCommandCommand started...
2024-02-06 22:42:14.638 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "An internal error occurred during your request!",
  "details": null,
  "data": {},
  "validationErrors": null
}

2024-02-06 22:42:14.644 +08:00 [ERR] Could not find a part of the path 'H:\change\3rd\rms2\test\Yee.Change.Rms.Domain.Tests\Public.RuleGroups\RuleSystemsDataSeedContributor.cs'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'H:\change\3rd\rms2\test\Yee.Change.Rms.Domain.Tests\Public.RuleGroups\RuleSystemsDataSeedContributor.cs'.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.OpenText(String path)
   at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.A5sod4Ri1A(String  )
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.WyFoJ4Ndde(TestDataObject  , Int32  )
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.t4IoYLE9UF()
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options)
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options)
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity)
   at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity)
   at lambda_method1890(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2024-02-06 22:42:14.686 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2024-02-06 22:42:14.688 +08:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 23531.866ms
2024-02-06 22:42:14.688 +08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)'
2024-02-06 22:42:14.689 +08:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/c1cde88d-939c-4050-a639-63672b729639/save-and-generate-entity - 500 null application/json; charset=utf-8 23537.0574ms
  • Steps to reproduce the issue:
  • run abp suite
  • create a simple CRUD entity named RuleSystem
  • Save and generate. completed successfully.
  • Create another CURD entity named RuleGroup, which has a foreign key to RuleSystem.
  • click 'Save and generate'. I got above error.

I am a Chinese programmer. The most famous blazor components library is BootstrapBlazor. But I found out that it is confict with Blazorise. Because they use different Bootstrap version.

So, I must give up BootstrapBlazor.

But the componets which Blazorise can provide, can't satisfy my tasks.

Can you recommend any Blazor components provider which will be safe for my projects based on ABP?

Showing 1 to 10 of 46 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35