After I upgraded from v5.3.3 to 5.3.4, the following errors occur when running suite. Could you please tell me how to handle this problem? The os used is macos monterey
abp suite
[19:41:18 INF] ABP CLI (https://abp.io)
[19:41:18 INF] Version 5.3.4 (Stable)
Starting Suite v5.3.4 ...
Opening http://localhost:3000
Press Ctrl+C to shut down.
[19:41:21 ERR] Connection id "0HMK4VHJ6QSHJ", Request id "0HMK4VHJ6QSHJ:00000002": An unhandled exception was thrown by the application.
Volo.Abp.AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List1 bundleItems, String bundleName) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Bundling\Volo\Abp\AspNetCore\Mvc\UI\Bundling\TagHelpers\AbpTagHelperResourceService.cs:line 71 at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService
2.ProcessAsync(TagHelperContext context, TagHelperOutput output) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Bundling\Volo\Abp\AspNetCore\Mvc\UI\Bundling\TagHelpers\AbpBundleTagHelperService.cs:line 21
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
at AspNetCoreGeneratedDocument.Themes_Lepton_Layouts_Application_Default.<>c__DisplayClass28_0.<<ExecuteAsync>b__0>d.MoveNext() in D:\ci\Jenkins\workspace\abp-commercial-release\volo\abp\lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Layouts\Application\Default.cshtml:line 75
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
at AspNetCoreGeneratedDocument.Themes_Lepton_Layouts_Application_Default.ExecuteAsync() in D:\ci\Jenkins\workspace\abp-commercial-release\volo\abp\lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Layouts\Application\Default.cshtml:line 57
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in D:\ci\Jenkins\workspace\abp-commercial-release\abp\framework\src\Volo.Abp.AspNetCore\Microsoft\AspNetCore\RequestLocalization\AbpRequestLocalizationMiddleware.cs:line 51
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
There is an exception when downloading attachments with Chinese characters using File Management. The exception still exists when debugging with Swagger. The following is the error message:
2022-08-13 18:23:56.657 +08:00 [INF] Request starting HTTP/1.1 GET http://192.168.235.128:44378/api/file-management/file-descriptor/download/884f5de3-c63f-8092-f51f-3a05a8e817fb/token?api-version=1.0 - -
2022-08-13 18:23:56.661 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:7fb2f2f3-b8f9-9ebc-0192-3a05169b039b,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.663 +08:00 [DBG] Found in the cache: pn:U,pk:7fb2f2f3-b8f9-9ebc-0192-3a05169b039b,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.663 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.664 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.664 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:BookStore_BlazorServerTiered,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.666 +08:00 [DBG] Found in the cache: pn:C,pk:BookStore_BlazorServerTiered,n:FileManagement.FileDescriptor
2022-08-13 18:23:56.667 +08:00 [INF] Executing endpoint 'Volo.FileManagement.Files.FileDescriptorController.GetDownloadTokenAsync (Volo.FileManagement.HttpApi)'
2022-08-13 18:23:56.673 +08:00 [INF] Route matched with {controller = "FileDescriptors", area = "fileManagement", action = "GetDownloadToken", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.FileManagement.Files.DownloadTokenResultDto] GetDownloadTokenAsync(System.Guid) on controller Volo.FileManagement.Files.FileDescriptorController (Volo.FileManagement.HttpApi). 2022-08-13 18:23:56.689 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:7fb2f2f3-b8f9-9ebc-0192-3a05169b039b,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.691 +08:00 [DBG] Found in the cache: pn:U,pk:7fb2f2f3-b8f9-9ebc-0192-3a05169b039b,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.691 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.693 +08:00 [DBG] Found in the cache: pn:R,pk:admin,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.693 +08:00 [DBG] PermissionStore.GetCacheItemAsync: pn:C,pk:BookStore_BlazorServerTiered,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.694 +08:00 [DBG] Found in the cache: pn:C,pk:BookStore_BlazorServerTiered,n:FileManagement.FileDescriptor 2022-08-13 18:23:56.717 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.FileManagement.Files.DownloadTokenResultDto'. 2022-08-13 18:23:56.718 +08:00 [INF] Executed action Volo.FileManagement.Files.FileDescriptorController.GetDownloadTokenAsync (Volo.FileManagement.HttpApi) in 45.7411ms 2022-08-13 18:23:56.718 +08:00 [INF] Executed endpoint 'Volo.FileManagement.Files.FileDescriptorController.GetDownloadTokenAsync (Volo.FileManagement.HttpApi)' 2022-08-13 18:23:56.719 +08:00 [INF] Request finished HTTP/1.1 GET http://192.168.235.128:44378/api/file-management/file-descriptor/download/884f5de3-c63f-8092-f51f-3a05a8e817fb/token?api-version=1.0 - - - 200 - application/json;+charset=utf-8 61.9902ms 2022-08-13 18:23:56.764 +08:00 [INF] Request starting HTTP/1.1 GET http://192.168.235.128:44378/api/file-management/file-descriptor/download/884f5de3-c63f-8092-f51f-3a05a8e817fb?token=9f3a8d32-ae2a-4193-8102-408280b92a57&api-version=1.0 - - 2022-08-13 18:23:56.768 +08:00 [INF] Executing endpoint 'Volo.FileManagement.Files.FileDescriptorController.DownloadAsync (Volo.FileManagement.HttpApi)' 2022-08-13 18:23:56.773 +08:00 [INF] Route matched with {controller = "FileDescriptors", area = "fileManagement", action = "Download", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Volo.Abp.Content.IRemoteStreamContent] DownloadAsync(System.Guid, System.String) on controller Volo.FileManagement.Files.FileDescriptorController (Volo.FileManagement.HttpApi).
2022-08-13 18:23:56.835 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "对不起,在处理你的请求期间,产生了一个服务器内部错误!",
"details": null,
"data": {},
"validationErrors": null
}
2022-08-13 18:23:56.836 +08:00 [ERR] Invalid non-ASCII or control character in header: 0x6570
System.InvalidOperationException: Invalid non-ASCII or control character in header: 0x6570
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.ThrowInvalidHeaderCharacter(Char ch)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.ValidateHeaderValueCharacters(String headerName, StringValues headerValues, Func2 encodingSelector) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponseHeaders.AddValueFast(String key, StringValues value) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpHeaders.System.Collections.Generic.IDictionary<System.String,Microsoft.Extensions.Primitives.StringValues>.Add(String key, StringValues value) at Volo.FileManagement.Files.FileDescriptorController.DownloadAsync(Guid id, String token) at lambda_method3210(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(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)
2022-08-13 18:23:56.848 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-08-13 18:23:56.850 +08:00 [INF] Executed action Volo.FileManagement.Files.FileDescriptorController.DownloadAsync (Volo.FileManagement.HttpApi) in 76.1619ms
2022-08-13 18:23:56.850 +08:00 [INF] Executed endpoint 'Volo.FileManagement.Files.FileDescriptorController.DownloadAsync (Volo.FileManagement.HttpApi)'
Hi,
The same code that uses the Modal control in the commercial version of the Autocomplete control will show an exception, and the following is the code block
<Button Color="Color.Primary" Clicked="@ShowModal" >@L["Approval"]</Button>
<Modal @ref="modalRef">
<ModalContent Centered>
<ModalHeader>
<ModalTitle>Employee edit</ModalTitle>
<CloseButton />
</ModalHeader>
<ModalBody>
<Field>
<FieldLabel>Name</FieldLabel>
<TextEdit Placeholder="Enter name..." />
</Field>
<Field>
<FieldLabel>Surname</FieldLabel>
<TextEdit Placeholder="Enter surname..." />
</Field>
<Autocomplete TItem="Country"
TValue="string"
Data="@Countries"
TextField="@(( item ) => item.Name)"
ValueField="@(( item ) => item.NameValue)"
Placeholder="Search..."
Multiple
FreeTyping
@bind-SelectedValues="multipleSelectionData"
@bind-SelectedTexts="multipleSelectionTexts">
</Autocomplete>
</ModalBody>
<ModalFooter>
<Button Color="Color.Secondary" Clicked="@HideModal">Close</Button>
<Button Color="Color.Primary" Clicked="@HideModal">Save Changes</Button>
</ModalFooter>
</ModalContent>
</Modal>
public class Country
{
public string Name { get; set; }
public string NameValue { get; set; }
}
private Modal modalRef;
public IEnumerable<Country> Countries;
protected override async Task OnInitializedAsync()
{
multipleSelectionData = new List<string>() { };
await base.OnInitializedAsync();
}
List<string> multipleSelectionData;
List<string> multipleSelectionTexts = new();
private async Task ShowModal()
{
await modalRef.Show();
}
private Task HideModal()
{
return modalRef.Hide();
}