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)
-
0
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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 entityMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
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 entityYes, 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?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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)
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Use different names for API resources
can you check your
IdentityServerApiResourcestable. 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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
@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.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
ok, sorry.. i will follow that link
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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 entityYes, 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?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
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!
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)






