Hi, I found the root cause is the vi.json file. After delete that file it working fine. Any idea why the vi.json file is not loaded?
1 args) at System.String.FormatHelper(IFormatProvider provider, String format, ReadOnlySpan
1 args) at System.String.Format(String format, Object[] args) at Volo.Abp.Localization.AbpDictionaryBasedStringLocalizer.GetLocalizedStringFormatted(String name, String cultureName, Object[] arguments) at Volo.Abp.Localization.AbpDictionaryBasedStringLocalizer.GetLocalizedStringFormatted(String name, Object[] arguments) at Volo.Abp.Localization.AbpDictionaryBasedStringLocalizer.get_Item(String name, Object[] arguments) at Abp.Razor.Template.<ExecuteAsync>d__0.MoveNext() at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.<RenderTemplateContentWithRazorAsync>d__9.MoveNext() at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.<RenderSingleTemplateAsync>d__8.MoveNext() at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.<RenderInternalAsync>d__7.MoveNext() at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.<RenderInternalAsync>d__7.MoveNext() at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.<RenderAsync>d__6.MoveNext() at Volo.Abp.TextTemplating.AbpTemplateRenderer.<RenderAsync>d__10.MoveNext()H, There is nothing specfic about the code base. I was follow the instruction in ABP document page. When calling the connect/token API, I receive the log below
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ExtractTokenRequest".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateGrantType".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateClientIdParameter".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateAuthorizationCodeParameter".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateClientCredentialsParameters".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateDeviceCodeParameter".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateRefreshTokenParameter".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateResourceOwnerCredentialsParameters".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateScopeParameter".
[10:59:29 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateProofKeyForCodeExchangeParameters".
[10:59:31 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateScopes".
[10:59:31 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateClientId".
[10:59:31 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateClientType".
[10:59:31 DBG] [] The event "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" was successfully processed by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateClientSecret".
[10:59:31 DBG] [] An exception was thrown by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateEndpointPermissions" while handling the "OpenIddict.Server.OpenIddictServerEvents+ValidateTokenRequestContext" event.
System.Text.Json.JsonReaderException: '0x0A' is invalid within a JSON string. The string should be correctly escaped. LineNumber: 0 | BytePositionInLine: 253.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeStringAndValidate(ReadOnlySpan
1 data, Int32 idx)
at System.Text.Json.Utf8JsonReader.ConsumeString()
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at Volo.Abp.OpenIddict.Applications.AbpOpenIddictApplicationStore.GetPermissionsAsync(OpenIddictApplicationModel application, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictApplicationManager
1.GetPermissionsAsync(TApplication application, CancellationToken cancellationToken)
at OpenIddict.Core.OpenIddictApplicationManager1.HasPermissionAsync(TApplication application, String permission, CancellationToken cancellationToken) at OpenIddict.Server.OpenIddictServerHandlers.Exchange.ValidateEndpointPermissions.HandleAsync(ValidateTokenRequestContext context) at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context) [10:59:31 DBG] [] An exception was thrown by "OpenIddict.Server.OpenIddictServerHandlers+Exchange+ValidateTokenRequest" while handling the "OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext" event. System.Text.Json.JsonReaderException: '0x0A' is invalid within a JSON string. The string should be correctly escaped. LineNumber: 0 | BytePositionInLine: 253. at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan
1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeStringAndValidate(ReadOnlySpan1 data, Int32 idx) at System.Text.Json.Utf8JsonReader.ConsumeString() at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker) at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan
1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at Volo.Abp.OpenIddict.Applications.AbpOpenIddictApplicationStore.GetPermissionsAsync(OpenIddictApplicationModel application, CancellationToken cancellationToken)
at OpenIddict.Core.OpenIddictApplicationManager1.GetPermissionsAsync(TApplication application, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictApplicationManager
1.HasPermissionAsync(TApplication application, String permission, CancellationToken cancellationToken)
at OpenIddict.Server.OpenIddictServerHandlers.Exchange.ValidateEndpointPermissions.HandleAsync(ValidateTokenRequestContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.OpenIddictServerHandlers.Exchange.ValidateTokenRequest.HandleAsync(ProcessRequestContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
[10:59:32 ERR] [] An unhandled exception has occurred while executing the request.
System.Text.Json.JsonReaderException: '0x0A' is invalid within a JSON string. The string should be correctly escaped. LineNumber: 0 | BytePositionInLine: 253.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ConsumeStringAndValidate(ReadOnlySpan
1 data, Int32 idx)
at System.Text.Json.Utf8JsonReader.ConsumeString()
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ConsumeNextToken(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at Volo.Abp.OpenIddict.Applications.AbpOpenIddictApplicationStore.GetPermissionsAsync(OpenIddictApplicationModel application, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictApplicationManager
1.GetPermissionsAsync(TApplication application, CancellationToken cancellationToken)
at OpenIddict.Core.OpenIddictApplicationManager`1.HasPermissionAsync(TApplication application, String permission, CancellationToken cancellationToken)
at OpenIddict.Server.OpenIddictServerHandlers.Exchange.ValidateEndpointPermissions.HandleAsync(ValidateTokenRequestContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.OpenIddictServerHandlers.Exchange.ValidateTokenRequest.HandleAsync(ProcessRequestContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.OpenIddictServerDispatcher.DispatchAsync[TContext](TContext context)
at OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandler.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at SCV.Litmus.Shared.DecryptHttpHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in D:\TASConnect\SourceCode\core-platform\SCV.Litmus\aspnet-core\shared\SCV.Litmus.Shared\Middleware\DecryptHttpHeadersMiddleware.cs:line 51
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<
Hi, Can you provide me which version that will be fixed, and when it will be released?
ABP Framework version: v4.3.1
UI type: Angular
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace: The language option is display incorrect
Steps to reproduce the issue:"
Hi, I'm working on the solution to scan all the hard code text in the angular application and moving them to the json file for localization. I was tried to use some extensions in visual studio code like Angular Localization Helper, i18n-ally, and VSCode Extension Localization Helper. But none of them are helpful. Do you have any suggestions?