Open Closed

Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Partials.Manager_UpdateGetQuery.txt" #4180


User avatar
0
hi.wujj@gmail.com created
  • **ABP Framework version:**7.0 rc3
  • UI type: MVC /
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace: 2022-12-13 08:58:11.321 +08:00 [WRN] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Partials.Manager_UpdateGetQuery.txt", "details": null, "data": {}, "validationErrors": null }

2022-12-13 08:58:11.321 +08:00 [WRN] Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Partials.Manager_UpdateGetQuery.txt Volo.Abp.UserFriendlyException: Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Partials.Manager_UpdateGetQuery.txt at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.TemplateService.ReadFromTemplateAsync(String relativeResourceName, CrudPageCommandOptions options, String defaultValue) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.TemplateService.PopulateTemplateAsync(String relativeResourceName, CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.ManagerCommand.UoToNhhDFj(String ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.ManagerCommand.zwWoR5Lfvx() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.ManagerCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1889(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 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-12-13 08:58:11.322 +08:00 [WRN] Code: 2022-12-13 08:58:11.322 +08:00 [WRN] Details: 2022-12-13 08:58:11.322 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2022-12-13 08:58:11.322 +08:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 3726.7242ms 2022-12-13 08:58:11.323 +08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)' 2022-12-13 08:58:11.323 +08:00 [INF] Request finished HTTP/1.1 POST http://127.0.0.1:3000/api/abpSuite/crudPageGenerator/b396e9ac-cd91-45f1-8934-1c8a58f4da2a/save-and-generate-entity application/json 7343 - 403 - application/json;+charset=utf-8 3727.2043ms 2022-12-13 09:02:59.062 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/ - - 2022-12-13 09:02:59.063 +08:00 [INF] Executing endpoint '/Index' 2022-12-13 09:02:59.063 +08:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index 2022-12-13 09:02:59.063 +08:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-12-13 09:02:59.064 +08:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2022-12-13 09:02:59.064 +08:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-12-13 09:02:59.066 +08:00 [WRN] The cookie 'XSRF-TOKEN' has set 'SameSite=None' and must also set 'Secure'. 2022-12-13 09:02:59.068 +08:00 [DBG] Added bundle 'Lepton.Global' to the page in 1.14 ms. 2022-12-13 09:02:59.078 +08:00 [DBG] Added bundle 'Lepton.Global' to the page in 4.07 ms. 2022-12-13 09:02:59.078 +08:00 [DBG] Added bundle 'Volo.Abp.Suite.Pages.IndexModel' to the page in 0.21 ms. 2022-12-13 09:02:59.079 +08:00 [INF] Executed page /Index in 15.4299ms 2022-12-13 09:02:59.079 +08:00 [INF] Executed endpoint '/Index' 2022-12-13 09:02:59.079 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/ - - - 200 - text/html;+charset=utf-8 16.9253ms 2022-12-13 09:02:59.208 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/Abp/ApplicationLocalizationScript?cultureName=en - - 2022-12-13 09:02:59.208 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/Abp/ApplicationConfigurationScript - - 2022-12-13 09:02:59.208 +08:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.208 +08:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.208 +08:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc). 2022-12-13 09:02:59.208 +08:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationLocalizationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationRequestDto) on controller Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController (Volo.Abp.AspNetCore.Mvc). 2022-12-13 09:02:59.209 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/Abp/ServiceProxyScript - - 2022-12-13 09:02:59.209 +08:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.209 +08:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc). 2022-12-13 09:02:59.209 +08:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()... 2022-12-13 09:02:59.211 +08:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2022-12-13 09:02:59.212 +08:00 [WRN] The cookie 'XSRF-TOKEN' has set 'SameSite=None' and must also set 'Secure'. 2022-12-13 09:02:59.212 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-12-13 09:02:59.212 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-12-13 09:02:59.212 +08:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-12-13 09:02:59.213 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 3.2867ms 2022-12-13 09:02:59.213 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 4.398ms 2022-12-13 09:02:59.213 +08:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 4.3522ms 2022-12-13 09:02:59.213 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.213 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.213 +08:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2022-12-13 09:02:59.213 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/Abp/ServiceProxyScript - - - 200 8810 application/javascript 4.1785ms 2022-12-13 09:02:59.213 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/Abp/ApplicationLocalizationScript?cultureName=en - - - 200 60478 application/javascript 5.3483ms 2022-12-13 09:02:59.213 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/Abp/ApplicationConfigurationScript - - - 200 2124 application/javascript 5.2748ms 2022-12-13 09:02:59.403 +08:00 [INF] Request starting HTTP/1.1 POST http://127.0.0.1:3000/notification-hub/negotiate text/plain;charset=UTF-8 0 2022-12-13 09:02:59.403 +08:00 [INF] Executing endpoint '/notification-hub/negotiate' 2022-12-13 09:02:59.403 +08:00 [INF] Executed endpoint '/notification-hub/negotiate' 2022-12-13 09:02:59.403 +08:00 [INF] Request finished HTTP/1.1 POST http://127.0.0.1:3000/notification-hub/negotiate text/plain;charset=UTF-8 0 - 200 273 application/json 0.4124ms 2022-12-13 09:02:59.425 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/api/abpSuite/solutions application/json - 2022-12-13 09:02:59.425 +08:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.GetSolutionsAsync (Volo.Abp.Suite)' 2022-12-13 09:02:59.425 +08:00 [INF] Route matched with {action = "GetSolutions", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Abp.Suite.Services.GetSolutionsOutput] GetSolutionsAsync() on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2022-12-13 09:02:59.425 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/api/abpSuite/is-suite-outdated application/json - 2022-12-13 09:02:59.426 +08:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSuiteOutDatedAsync (Volo.Abp.Suite)' 2022-12-13 09:02:59.426 +08:00 [INF] Route matched with {action = "IsSuiteOutDated", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Boolean] IsSuiteOutDatedAsync() on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2022-12-13 09:02:59.429 +08:00 [INF] Start processing HTTP request GET https://abp.io/api/license/api-key 2022-12-13 09:02:59.430 +08:00 [INF] Sending HTTP request GET https://abp.io/api/license/api-key 2022-12-13 09:02:59.431 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Suite.Services.GetSolutionsOutput'. 2022-12-13 09:02:59.432 +08:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.GetSolutionsAsync (Volo.Abp.Suite) in 6.5965ms 2022-12-13 09:02:59.432 +08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.GetSolutionsAsync (Volo.Abp.Suite)' 2022-12-13 09:02:59.432 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/api/abpSuite/solutions application/json - - 200 - application/json;+charset=utf-8 7.5703ms 2022-12-13 09:02:59.436 +08:00 [INF] Request starting HTTP/1.1 GET http://127.0.0.1:3000/notification-hub?id=hxR0t7WniJjLCAwB9TRipw - - 2022-12-13 09:02:59.436 +08:00 [INF] Executing endpoint '/notification-hub' 2022-12-13 09:03:00.967 +08:00 [INF] Received HTTP response headers after 1537.0243ms - 200 2022-12-13 09:03:00.967 +08:00 [INF] End processing HTTP request after 1537.3421ms - 200 2022-12-13 09:03:00.967 +08:00 [INF] Start processing HTTP request GET https://nuget.abp.io/2e6d8c67-667e-4b88-83c6-152e42c50af2/v3/package/Volo.Abp.Suite/index.json 2022-12-13 09:03:00.967 +08:00 [INF] Sending HTTP request GET https://nuget.abp.io/2e6d8c67-667e-4b88-83c6-152e42c50af2/v3/package/Volo.Abp.Suite/index.json 2022-12-13 09:03:01.947 +08:00 [INF] Executed endpoint '/notification-hub' 2022-12-13 09:03:01.947 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/notification-hub?id=hxR0t7WniJjLCAwB9TRipw - - - 101 - - 2510.9054ms 2022-12-13 09:03:01.968 +08:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'. 2022-12-13 09:03:01.969 +08:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.IsSuiteOutDatedAsync (Volo.Abp.Suite) in 2542.8508ms 2022-12-13 09:03:01.969 +08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSuiteOutDatedAsync (Volo.Abp.Suite)' 2022-12-13 09:03:01.969 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/api/abpSuite/is-suite-outdated application/json - - 0 - application/json;+charset=utf-8 2543.4049ms 2022-12-13 09:03:40.637 +08:00 [INF] Executed endpoint '/notification-hub' 2022-12-13 09:03:40.637 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/notification-hub?id=4R5gawxDUFoWVnJFkJyhhQ - - - 101 - - 865089.6433ms 2022-12-13 09:08:40.633 +08:00 [INF] Executed endpoint '/notification-hub' 2022-12-13 09:08:40.633 +08:00 [INF] Request finished HTTP/1.1 GET http://127.0.0.1:3000/notification-hub?id=fF5eMiznkMsh447zZqdsow - - - 101 - - 638189.4005ms

  • Steps to reproduce the issue:"

2 Answer(s)
  • User Avatar
    0
    hi.wujj@gmail.com created

    hi ,How to solve this problem?

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @hi.wujj,

    What is the version of Volo.Abp.Commercial.SuiteTemplates package in your project? It should match the ABP Suite version.

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