Starts in:
2 DAYS
2 HRS
40 MIN
4 SEC
Starts in:
2 D
2 H
40 M
4 S
Open Closed

Bugs & Issues v4.3.X #1126


User avatar
0
alper created
Support Team Director

To update your version to v4.3.x for both ABP CLI and ABP Suite run the following command

dotnet tool update -g Volo.Abp.Cli --version 4.3.0-rc.1
abp suite update --preview

or

Run this PowerShell script to update both the CLI and Suite to the latest including the preview versions.

v4.3 Preview ABP Framework Version Notes https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published

v4.3 Preview ABP Commercial Version Notes https://blog.abp.io/abp/ABP-Commercial-4.3-RC-Has-Been-Published

From 4.x to 4.3 Migration Guide https://docs.abp.io/en/commercial/4.3/migration-guides/v4_3


188 Answer(s)
  • User Avatar
    0
    hakan.uskaner created

    If you save and generate Entities after a change again in Abp Suite, then within the Project AutomapperProfile.cs the CreateMap Entries are duplicated not replaced.

  • User Avatar
    0
    alper created
    Support Team Director

    Upgraded identity server project to 4.3.0-rc.2, api resource with duplicated name issue in the store,

    &response_type=code%20id_token&scope=openid%20profile%20role%20email%20phone%20School%20FM&response_mode=form_post&nonce=637539299648315756.NmMxZTMyN2EtZjFiOC00YTEzLTk1ZTUtNTg3ODI0ZjJiYTU4MzgwYjRlNzctMGNhOS00ZWU1LWIwZmQtZGU4YjQ0MDAwOGEy&state=CfDJ8KXRcooiqfRLnHfapkfMabZETbZS2HZ0x1fg-imyenT2TgiX-TElW5OkEnmFRSMLeIU0PqrbYYFeTffFpIQCN3j_jUCkWmI2fbcuwePKzJxmE-gvAMN8tG95Zy9-51iAN1kK9FvV0DIv7iEaWR_gYV6P_LC0JurxL7yUXfMLocsXMl8xOMpBnMPR_vwOp1JBqxie7fPZlpc9y6MaRYEhiJTtDrav_9A9F5QUQ64NZ4B-XZNZRVRlCMm5z9VX8mxW9UP297i44tIak0TqFV3t4kW_-WUs6QooYj2Aqt7qmmst6J6iTTMLqgWsMj_0gP_gSg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.7.1.0 - - 2021-04-14 00:59:25.116 +08:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2021-04-14 00:59:25.149 +08:00 [INF] {"Details":"System.Exception: Duplicate api resources found. This is an invalid configuration. Use different names for API resources. Names found: School\r\n at IdentityServer4.Stores.IResourceStoreExtensions.Validate(IEnumerable1 identity, IEnumerable1 apiResources, IEnumerable1 apiScopes)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindEnabledResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Validation.DefaultResourceValidator.ValidateRequestedResourcesAsync(ResourceValidationRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateScopeAsync(ValidatedAuthorizeRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateAsync(NameValueCollection parameters, ClaimsPrincipal subject)\r\n at IdentityServer4.Endpoints.AuthorizeEndpointBase.ProcessAuthorizeRequestAsync(NameValueCollection paramet`

    Once rollback to ver 4.2.2, it works fine

    hi, we don't have an issue about a duplicate endpoint. I see in the log Names found: School\r\n at IdentityServer4.Stores. School is not an ABP entity

  • User Avatar
    0
    alper created
    Support Team Director

    Template Blazor, Emailing settings. Password needs to be bigger than 64. SendGrid requires to use a key, which is quite longer.

    increased to 1024 (wait for the next RC)

  • User Avatar
    0
    trendline created

    Upgraded identity server project to 4.3.0-rc.2, api resource with duplicated name issue in the store,

    &response_type=code%20id_token&scope=openid%20profile%20role%20email%20phone%20School%20FM&response_mode=form_post&nonce=637539299648315756.NmMxZTMyN2EtZjFiOC00YTEzLTk1ZTUtNTg3ODI0ZjJiYTU4MzgwYjRlNzctMGNhOS00ZWU1LWIwZmQtZGU4YjQ0MDAwOGEy&state=CfDJ8KXRcooiqfRLnHfapkfMabZETbZS2HZ0x1fg-imyenT2TgiX-TElW5OkEnmFRSMLeIU0PqrbYYFeTffFpIQCN3j_jUCkWmI2fbcuwePKzJxmE-gvAMN8tG95Zy9-51iAN1kK9FvV0DIv7iEaWR_gYV6P_LC0JurxL7yUXfMLocsXMl8xOMpBnMPR_vwOp1JBqxie7fPZlpc9y6MaRYEhiJTtDrav_9A9F5QUQ64NZ4B-XZNZRVRlCMm5z9VX8mxW9UP297i44tIak0TqFV3t4kW_-WUs6QooYj2Aqt7qmmst6J6iTTMLqgWsMj_0gP_gSg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.7.1.0 - - 2021-04-14 00:59:25.116 +08:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2021-04-14 00:59:25.149 +08:00 [INF] {"Details":"System.Exception: Duplicate api resources found. This is an invalid configuration. Use different names for API resources. Names found: School\r\n at IdentityServer4.Stores.IResourceStoreExtensions.Validate(IEnumerable1 identity, IEnumerable1 apiResources, IEnumerable1 apiScopes)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindEnabledResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Validation.DefaultResourceValidator.ValidateRequestedResourcesAsync(ResourceValidationRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateScopeAsync(ValidatedAuthorizeRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateAsync(NameValueCollection parameters, ClaimsPrincipal subject)\r\n at IdentityServer4.Endpoints.AuthorizeEndpointBase.ProcessAuthorizeRequestAsync(NameValueCollection paramet`

    Once rollback to ver 4.2.2, it works fine

    hi, we don't have an issue about a duplicate endpoint. I see in the log Names found: School\r\n at IdentityServer4.Stores. School is not an ABP entity

    Yes, it is the name of my project, my meaning is that after upgraded to 4.3.0-rc.2, encountered this error, roll back to 4.2.2 it works fine, same configuration and the same data in database, is there a reason caused this happened?

  • User Avatar
    0
    alper created
    Support Team Director

    Use different names for API resources

    can you check your IdentityServerApiResources table. I guess there are duplicate records. if so delete one.

  • User Avatar
    0
    alper created
    Support Team Director

    If you save and generate Entities after a change again in Abp Suite, then within the Project AutomapperProfile.cs the CreateMap Entries are duplicated not replaced.

    @hakan thank you. I created an internal issue for this.

  • User Avatar
    0
    MILLENNIUM created

    Issue with payment module with v4.3.0-rc.1

    • ABP Framework version: v4.3.0-rc.1
    • UI type: Angular ( but trying with MVC for now)
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Steps to reproduce the issue:

    1- I installed payment commercial module, 2- migrated db 3- setup appsettings for payment providers 4- added an action as sample suggested: https://docs.abp.io/en/commercial/latest/modules/payment 5- I run system and tried the action but I got that error!

    • Exception message and stack trace: An unhandled exception occurred while processing the request. SqlException: Invalid object name 'PayPaymentRequests'. Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result)

    DbUpdateException: An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

    SqlException: Invalid object name 'PayPaymentRequests'.

    Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result) System.Threading.Tasks.ContinuationResultTaskFromResultTask<TAntecedentResult, TResult>.InnerInvoke() System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state) System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref Task currentTaskSlot, Thread threadPoolThread) Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

  • User Avatar
    0
    geffzhang created

    It is recommended to add a link to support on the abp suite so that I can go directly to the superport forum if I have questions during use

  • User Avatar
    0
    ilitzy created

    Hello, Trying to create a blank Blazor WebAssembly project. I cannot.! Using abp suite v4.3.0-rc2 Blazor+Mongo+Separate Identy Server!

    Thank you in advance for your help!

  • User Avatar
    0
    AndrewT created

    @Alper - when is the next RC?

  • User Avatar
    0
    trendline created

    Use different names for API resources

    can you check your IdentityServerApiResources table. I guess there are duplicate records. if so delete one.

    I have checked, no duplicate records there, if rollback to verson 4.2.2, it works as expected

  • User Avatar
    0
    ilkayilknur created

    With 4.3.0-rc.2, the CMS-Kit public page controller not registered, cannot visit a page by slug from public site.

    The error logs as below: 2021-04-10 15:30:18.186 +08:00 [INF] Executing endpoint 'Volo.CmsKit.Public.Pages.PagesPublicController.FindBySlugAsync (Volo.CmsKit.Public.HttpApi)' 2021-04-10 15:30:18.201 +08:00 [INF] Route matched with {area = "cms-kit", action = "FindBySlug", controller = "PagesPublic", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.CmsKit.Public.Pages.PageDto] FindBySlugAsync(System.String) on controller Volo.CmsKit.Public.Pages.PagesPublicController (Volo.CmsKit.Public.HttpApi). 2021-04-10 15:30:18.264 +08:00 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

    2021-04-10 15:30:18.265 +08:00 [ERR] The requested service 'Volo.CmsKit.Public.Pages.PagesPublicController' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.Core.Registration.ComponentNotRegisteredException: The requested service 'Volo.CmsKit.Public.Pages.PagesPublicController' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.`

    We're not able to reproduce the issue. Can you give us some details regarding how you created the solution? CLI or Suite? Screenshot of the command or suite creation screen. Thanks

  • User Avatar
    0
    hakan.uskaner created

    It would be great if you could provide a Link for addressing issues and feature requests for abp suite. This is usefull to getting Feedback for you what features are wished by your customers and handling issues. On GitHub we can post for the free abp framework, so one different for commercial would be great.

  • User Avatar
    0
    alper created
    Support Team Director

    Using abp suite v4.3.0-rc2 Blazor+Mongo+Separate Identy Server!

    Thank you in advance for your help!

    @ilitzy
    This is fixed in the latest preview.

  • User Avatar
    0
    alper created
    Support Team Director

    Issue with payment module with v4.3.0-rc.1

    • ABP Framework version: v4.3.0-rc.1
    • UI type: Angular ( but trying with MVC for now)
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Steps to reproduce the issue:

    1- I installed payment commercial module,
    2- migrated db 3- setup appsettings for payment providers 4- added an action as sample suggested: https://docs.abp.io/en/commercial/latest/modules/payment 5- I run system and tried the action but I got that error!

    • Exception message and stack trace:
      An unhandled exception occurred while processing the request. SqlException: Invalid object name 'PayPaymentRequests'. Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result)

    DbUpdateException: An error occurred while updating the entries. See the inner exception for details. Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

    SqlException: Invalid object name 'PayPaymentRequests'.

    Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result) System.Threading.Tasks.ContinuationResultTaskFromResultTask<TAntecedentResult, TResult>.InnerInvoke() System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state) System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref Task currentTaskSlot, Thread threadPoolThread) Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

    did you add migration after adding the module? add-migration

  • User Avatar
    0
    alper created
    Support Team Director

    It is recommended to add a link to support on the abp suite so that I can go directly to the superport forum if I have questions during use

    @geffzhang reasonable request. created a feature request

  • User Avatar
    0
    alper created
    Support Team Director

    @Alper - when is the next RC?

    next week

  • User Avatar
    0
    AndrewT created

    @Alper - when is the next RC?

    next week

    @Alper - When it is final release? How can we get email working with longe keys in Blazor before then?

  • User Avatar
    0
    alper created
    Support Team Director

    It would be great if you could provide a Link for addressing issues and feature requests for abp suite. This is usefull to getting Feedback for you what features are wished by your customers and handling issues. On GitHub we can post for the free abp framework, so one different for commercial would be great.

    @hakan you can write these feedback to https://support.abp.io/QA/Questions/954/We-are-listening-to-you

  • User Avatar
    0
    hakan.uskaner created

    @alper: This Link you send https://support.abp.io/QA/Questions/954/We-are-listening-to-you seems to be locked:

  • User Avatar
    0
    alper created
    Support Team Director

    @alper: This Link you send https://support.abp.io/QA/Questions/954/We-are-listening-to-you seems to be blocked:

    yes that's locked. you'll not write an answer to that post. there's link in that post click that link.

  • User Avatar
    0
    hakan.uskaner created

    ok, sorry.. i will follow that link

  • User Avatar
    0
    alper created
    Support Team Director

    Upgraded identity server project to 4.3.0-rc.2, api resource with duplicated name issue in the store,

    &response_type=code%20id_token&scope=openid%20profile%20role%20email%20phone%20School%20FM&response_mode=form_post&nonce=637539299648315756.NmMxZTMyN2EtZjFiOC00YTEzLTk1ZTUtNTg3ODI0ZjJiYTU4MzgwYjRlNzctMGNhOS00ZWU1LWIwZmQtZGU4YjQ0MDAwOGEy&state=CfDJ8KXRcooiqfRLnHfapkfMabZETbZS2HZ0x1fg-imyenT2TgiX-TElW5OkEnmFRSMLeIU0PqrbYYFeTffFpIQCN3j_jUCkWmI2fbcuwePKzJxmE-gvAMN8tG95Zy9-51iAN1kK9FvV0DIv7iEaWR_gYV6P_LC0JurxL7yUXfMLocsXMl8xOMpBnMPR_vwOp1JBqxie7fPZlpc9y6MaRYEhiJTtDrav_9A9F5QUQ64NZ4B-XZNZRVRlCMm5z9VX8mxW9UP297i44tIak0TqFV3t4kW_-WUs6QooYj2Aqt7qmmst6J6iTTMLqgWsMj_0gP_gSg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.7.1.0 - - 2021-04-14 00:59:25.116 +08:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2021-04-14 00:59:25.149 +08:00 [INF] {"Details":"System.Exception: Duplicate api resources found. This is an invalid configuration. Use different names for API resources. Names found: School\r\n at IdentityServer4.Stores.IResourceStoreExtensions.Validate(IEnumerable1 identity, IEnumerable1 apiResources, IEnumerable1 apiScopes)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Stores.IResourceStoreExtensions.FindEnabledResourcesByScopeAsync(IResourceStore store, IEnumerable1 scopeNames)\r\n at IdentityServer4.Validation.DefaultResourceValidator.ValidateRequestedResourcesAsync(ResourceValidationRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateScopeAsync(ValidatedAuthorizeRequest request)\r\n at IdentityServer4.Validation.AuthorizeRequestValidator.ValidateAsync(NameValueCollection parameters, ClaimsPrincipal subject)\r\n at IdentityServer4.Endpoints.AuthorizeEndpointBase.ProcessAuthorizeRequestAsync(NameValueCollection paramet`

    Once rollback to ver 4.2.2, it works fine

    hi, we don't have an issue about a duplicate endpoint. I see in the log Names found: School\r\n at IdentityServer4.Stores. School is not an ABP entity

    Yes, it is the name of my project, my meaning is that after upgraded to 4.3.0-rc.2, encountered this error, roll back to 4.2.2 it works fine, same configuration and the same data in database, is there a reason caused this happened?

    weird! when you go to https://your-website/identity-server/api-resources do you see duplicate records?

  • User Avatar
    0
    MILLENNIUM created

    Issue with payment module with v4.3.0-rc.1

    • ABP Framework version: v4.3.0-rc.1
    • UI type: Angular ( but trying with MVC for now)
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Steps to reproduce the issue:

    1- I installed payment commercial module,
    2- migrated db
    3- setup appsettings for payment providers
    4- added an action as sample suggested: https://docs.abp.io/en/commercial/latest/modules/payment
    5- I run system and tried the action but I got that error!

    • Exception message and stack trace:
      An unhandled exception occurred while processing the request.
      SqlException: Invalid object name 'PayPaymentRequests'.
      Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result)

    DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
    Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

    SqlException: Invalid object name 'PayPaymentRequests'.

    Microsoft.Data.SqlClient.SqlCommand+<>c.<ExecuteDbDataReaderAsync>b__169_0(Task<SqlDataReader> result)
    System.Threading.Tasks.ContinuationResultTaskFromResultTask<TAntecedentResult, TResult>.InnerInvoke()
    System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state)
    System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref Task currentTaskSlot, Thread threadPoolThread)
    Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
    Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
    Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)

    did you add migration after adding the module? add-migration

    I did now, the system runs but I got redirected to another unexist page:

    I got this error after submitting the payment request:

    No webpage was found for the web address: https://localhost:44342/Payment/GatewaySelection?paymentRequestId=a9b3d199-9646-9251-64f3-39fbebed14a0

    I followed the steps : ABP Framework version: v4.3.0-rc.1 UI type: Angular ( but trying with MVC for now) DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Steps to reproduce the issue: 1- I installed payment commercial module, 2- add migration and then migrated db 3- setup appsettings for payment providers 4- added an action as sample suggested: https://docs.abp.io/en/commercial/latest/modules/payment 5- I run system and tried the action but I got that error!

  • User Avatar
    0
    ilitzy created

    Hello,

    Thank you for your quick response. I noticed something else: the FileManagemantModule generates an error when pressing Actions : Download(by the way there is a spelling mistake there). All other actions seem to work well.

    Thak you in advance for your response and hard work!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06