Hi ABP Team,
ABP v8.2.2
Just to test the problem of File Type property, I recreated the Layered application via ABP Suite
Build the Project: 1. First error you will see is in Application.Contract interface of Child Entity Appservices, the template is generaed as "DownloadTokenResultDto" instead of "DownloadTokenResultDtoBase" ---- 2. Second Error is in DownloadTokenResultDto.cs template is with abstract, once remove build is successful
After I fixed the above errors, the application ran normally, however, when I create a Master object and tried to add a child object, I got the below error:
[23:56:55 DBG] Executing HealthCheck collector HostedService.
[23:56:55 INF] Start processing HTTP request GET https://localhost:44334/health-status
[23:56:55 INF] Sending HTTP request GET https://localhost:44334/health-status
[23:56:55 INF] Request starting HTTP/1.1 GET https://localhost:44334/health-status - null null
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ValidateHostHeader.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+EvaluateValidatedTokens.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromAuthorizationHeader.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromBodyForm.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ExtractAccessTokenFromQueryString.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was successfully processed by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens.
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessAuthenticationContext was marked as rejected by OpenIddict.Validation.OpenIddictValidationHandlers+ValidateRequiredTokens.
[23:56:55 DBG] AuthenticationScheme: OpenIddict.Validation.AspNetCore was not authenticated.
[23:56:55 INF] Executing endpoint 'Health checks'
[23:56:55 INF] Request starting HTTP/2 GET https://localhost:44334/Products/ChildDataGrid?productId=3a14ded8-0e72-c06c-3f7d-e8681dfbdd0c - null null
[23:56:55 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.
[23:56:55 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader.
[23:56:55 DBG] Get dynamic claims cache for user: 3a14ded7-0abb-8273-f3b5-5fb0cecec50e
[23:56:56 INF] Executing endpoint 'TechDB.BaseApp.Web.Controllers.Products.ProductsController.ChildDataGrid (TechDB.BaseApp.Web)'
[23:56:56 INF] Route matched with {action = "ChildDataGrid", controller = "Products", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.PartialViewResult] ChildDataGrid(System.Guid) on controller TechDB.BaseApp.Web.Controllers.Products.ProductsController (TechDB.BaseApp.Web).
[23:56:56 DBG] Added 0 entity changes to the current audit log
[23:56:56 INF] Executed endpoint 'Health checks'
[23:56:56 INF] Received HTTP response headers after 911.1188ms - 200
[23:56:56 INF] End processing HTTP request after 911.2785ms - 200
[23:56:56 INF] Request finished HTTP/1.1 GET https://localhost:44334/health-status - 200 null application/json 883.6987ms
[23:56:56 INF] Executing PartialViewResult, running view ~/Pages/BaseApp/Shared/Products/_ChildDataGrids.cshtml.
[23:56:56 DBG] HealthReportCollector - health report execution history saved.
[23:56:56 DBG] HealthReport history already exists and is in the same state, updating the values.
[23:56:56 DBG] HealthReportCollector has completed.
[23:56:56 DBG] HealthCheck collector HostedService executed successfully.
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions
[23:56:56 DBG] Found in the cache: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:BaseApp.ProductVersions
[23:56:56 DBG] Found in the cache: pn:R,pk:admin,n:BaseApp.ProductVersions
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions
[23:56:56 DBG] Found in the cache: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:BaseApp.ProductVersions
[23:56:56 DBG] Found in the cache: pn:R,pk:admin,n:BaseApp.ProductVersions
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions.Create
[23:56:56 DBG] Found in the cache: pn:U,pk:3a14ded7-0abb-8273-f3b5-5fb0cecec50e,n:BaseApp.ProductVersions.Create
[23:56:56 DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:BaseApp.ProductVersions.Create
[23:56:56 DBG] Found in the cache: pn:R,pk:admin,n:BaseApp.ProductVersions.Create
[23:56:56 INF] Executed PartialViewResult - view ~/Pages/BaseApp/Shared/Products/_ChildDataGrids.cshtml executed in 103.17ms.
[23:56:56 INF] Executed action TechDB.BaseApp.Web.Controllers.Products.ProductsController.ChildDataGrid (TechDB.BaseApp.Web) in 127.0905ms
[23:56:56 INF] Executed endpoint 'TechDB.BaseApp.Web.Controllers.Products.ProductsController.ChildDataGrid (TechDB.BaseApp.Web)'
[23:56:56 INF] Request finished HTTP/2 GET https://localhost:44334/Products/ChildDataGrid?productId=3a14ded8-0e72-c06c-3f7d-e8681dfbdd0c - 200 null text/html; charset=utf-8 784.2997ms
[23:56:56 INF] Request starting HTTP/2 GET https://localhost:44334/api/base-App/product-versions/by-product?productId=3a14ded8-0e72-c06c-3f7d-e8681dfbdd0c&sorting=versionNumber%20asc&skipCount=0&maxResultCount=10 - application/json null
[23:56:56 DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
[23:56:56 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri.
[23:56:56 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType.
[23:56:56 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.
[23:56:56 DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader.
[23:56:56 DBG] Get dynamic claims cache for user: 3a14ded7-0abb-8273-f3b5-5fb0cecec50e
[23:56:56 INF] Executing endpoint 'TechDB.BaseApp.ProductVersions.ProductVersionController.GetListByProductIdAsync (TechDB.BaseApp.HttpApi)'
[23:56:56 INF] Route matched with {area = "BaseApp", controller = "ProductVersion", action = "GetListByProductId", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[TechDB.BaseApp.ProductVersions.ProductVersionDto]] GetListByProductIdAsync(TechDB.BaseApp.ProductVersions.GetProductVersionListInput) on controller TechDB.BaseApp.ProductVersions.ProductVersionController (TechDB.BaseApp.HttpApi).
[23:56:56 ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "TechDB.BaseApp.ProductVersions.ProductVersionController -> TechDB.BaseApp.ProductVersions.ProductVersionsAppService"
},
"validationErrors": null
}
[23:56:56 ERR] An exception was thrown while activating TechDB.BaseApp.ProductVersions.ProductVersionController -> TechDB.BaseApp.ProductVersions.ProductVersionsAppService.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating TechDB.BaseApp.ProductVersions.ProductVersionController -> TechDB.BaseApp.ProductVersions.ProductVersionsAppService.
---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'TechDB.BaseApp.ProductVersions.ProductVersionsAppService' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[TechDB.BaseApp.AppFileDescriptors.AppFileDescriptor,System.Guid] appFileDescriptorRepository' of constructor 'Void .ctor(TechDB.BaseApp.ProductVersions.IProductVersionRepository, TechDB.BaseApp.ProductVersions.ProductVersionManager, Volo.Abp.Caching.IDistributedCache`2[TechDB.BaseApp.ProductVersions.ProductVersionDownloadTokenCacheItem,System.String], Volo.Abp.Domain.Repositories.IRepository`2[TechDB.BaseApp.AppFileDescriptors.AppFileDescriptor,System.Guid], Volo.Abp.BlobStoring.IBlobContainer`1[TechDB.BaseApp.ProductVersions.ProductVersionFileContainer])'.
See https://autofac.rtfd.io/help/no-constructors-bindable for more info.
at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext context, Action`1 next)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass39_0.<OnActivated>b__0(ResolveRequestContext context, Action`1 next)
at Autofac.Extras.DynamicProxy.RegistrationExtensions.<>c__DisplayClass8_0`3.<EnableInterfaceInterceptors>b__1(ResolveRequestContext ctx, Action`1 next)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest& request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest& request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass6_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
[23:56:56 ERR] ---------- Exception Data ----------
ActivatorChain = TechDB.BaseApp.ProductVersions.ProductVersionController -> TechDB.BaseApp.ProductVersions.ProductVersionsAppService
[23:56:56 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
[23:56:56 INF] Executed action TechDB.BaseApp.ProductVersions.ProductVersionController.GetListByProductIdAsync (TechDB.BaseApp.HttpApi) in 3.1609ms
[23:56:56 INF] Executed endpoint 'TechDB.BaseApp.ProductVersions.ProductVersionController.GetListByProductIdAsync (TechDB.BaseApp.HttpApi)'
[23:56:56 INF] Request finished HTTP/2 GET https://localhost:44334/api/base-App/product-versions/by-product?productId=3a14ded8-0e72-c06c-3f7d-e8681dfbdd0c&sorting=versionNumber%20asc&skipCount=0&maxResultCount=10 - 500 null application/json; charset=utf-8 14.3294ms
[23:57:06 DBG] Executing HealthCheck collector HostedService.
[23:57:06 INF] Start processing HTTP request GET https://localhost:44334/health-status
[23:57:06 INF] Sending HTTP request GET https://localhost:44334/health-status
[23:57:06 INF] Request starting HTTP/1.1 GET https://localhost:44334/health-status - null null
Can you please suggest a workaround for me to continue my software development?
Many thx Navneet
@lizhaofeng, @Navneet@aol.com.au
You can create a new module with
abp new-module Acme.BookStore -t module:ddd
. For more information, visit the CLI documentation. You can also watch this tutorial.To create a project using an open-source template, you should add the
--use-open-source-template
argument. For example:abp new Acme.Bookstore -csf --use-open-source-template
. For more information, visit the CLI documentation.Thanks, the command 'abp new-module Acme.BookStore -t module:ddd -u:mvc,angular' does create module project however, it does not create Host project to run, is there any command can i use to add host project to Module template
Thanks,
NavneetUnfortunately, no. However, it's in our backlog, and we're going to add it in future releases. As a workaround, you can create an app-nolayers project and import the created module.
Hello Team,
ABP V8.2.2
From ABP STUDIO: After Adding a module to the Layered Application and trying to open the module in ABP Suite to generate the CRUD pages, I am getting an error that the Module is missing the Host project.
To produce this error:
Thanks.
Hello Team,
ABP Version V8.2.2
The ABP suite generates a Blazor CRUD pages with an error when using File Type in the Child object, to recreate this error:
Please note this error was raised by @Sturla as well, however, it wasn't resolved https://abp.io/support/questions/7424/Suite-result-is-full-of-errors-when-using-the-new-File-entity
many thanks, Navneet
@lizhaofeng, @Navneet@aol.com.au
You can create a new module with
abp new-module Acme.BookStore -t module:ddd
. For more information, visit the CLI documentation. You can also watch this tutorial.To create a project using an open-source template, you should add the
--use-open-source-template
argument. For example:abp new Acme.Bookstore -csf --use-open-source-template
. For more information, visit the CLI documentation.
Thanks, the command 'abp new-module Acme.BookStore -t module:ddd -u:mvc,angular' does create module project however, it does not create Host project to run, is there any command can i use to add host project to Module template
Thanks, Navneet
Hi Yekalkan,
Yes, the PowerShell is already installed.
From the terminal, I can run abp install-libs, however, from Studio I cannot do it.
Also, the Module Template is missing from studio.
One more bug: when I created a layered application and Unchecked OpenIddict UI, it was still added to the project, so Unchecking is not working in v8.2.2
Thanks, Navneet
Hello ABP Team,
While using ABP Studio, I noticed that the Module Template is missing. Is it purposely? If Yes, is there any other way I can create the Moduler Application?
Thanks, Navneet
Hi ABP legends,
It will be helpful if ABP Suite can also generate Maui CRUD pages.
Hello, thank you for your detailed information.
Currently the package
Volo.Abp.Studio.Extensions.StandardSolutionTemplates
is not found in the your NuGet cache, somehow ABP Studio is not able to download this package. To download this package manually, execute the command below in CLI:nuget install Volo.Abp.Studio.Extensions.StandardSolutionTemplates -version 0.6.6 -source https://nuget.abp.io/[YOUR_API_KEY]/v3/index.json
replace
[YOUR_API_KEY]
with yours (it's in your NuGet.config file)Then move the downloaded folder into the folder with the packages in your NuGet cache. If everything was done correctly, the problem should be fixed when you open ABP Studio again.
Hi berkansasmaz,
Thanks for your reply, now ABP studio is working as expected.
Thx, Navneet
Hello ABP team,
Apologies if I am repeating this question, as I didn't find solution in current thread.
ABP Studio V0.6.6 is showing an error that I don't have below two packages:
I have also checked that the above packages are also missing from /Users/nav/.nuget/packages
Any suggestions on how I can fix it?
May thx Navneet
Hi liangshiwei,
Many thx for your help.
Final question, should I remove Tenant Management and Edition Management module so that my client not able to enable it without my permission