某项目用到内置库视图,开发中为了梳理视图名称以便于维护,需要对已被页面引用且包含关联字段的视图进行更名
更名后,调试页面出错,提示如下,红色字体为 更名前的视图名称
MetadataLoader.ts:18 /Home/GetTableDataWithOffset
Internal Server Error
Request Exception Happened-------------------------------
Path/Home/GetTableDataWithOffset
UserName:Administrator
{
"ClassName": "System.ArgumentException",
"Message": "v_单体指标汇总",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Forguncy.Server2.Common.TableColumnNameChecker.CheckColumnName(String tableName, String columnName)
at Forguncy.Server2.Common.TableColumnNameChecker.a(RelationBinding A_0)
at Forguncy.Server2.Common.TableColumnNameChecker.CheckBindingInfo(BindingInfo bindingInfo)
at Forguncy.Server2.Common.BindingInfoParamSecurityChecker.CheckItem(Object checkValue)
at Forguncy.KatanaMiddleware.ParamSecurityChecker.Check(Object checkValue)
at Forguncy.KatanaMiddleware.ParamSecurityCheckerFilter.OnActionExecuting(ActionExecutingContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
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()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Forguncy.KatanaMiddleware.ServerCommandMiddleware.InvokeAsync(HttpContext context)
at Forguncy.KatanaMiddleware.CustomApiMiddleware.InvokeAsync(HttpContext context)
at Forguncy.KatanaMiddleware.ConcurrentControllMiddleware.InvokeAsync(HttpContext context)
at Forguncy.Server2.KatanaMiddleware.StartPageMiddleware.InvokeAsync(HttpContext context)
at Forguncy.Server2.KatanaMiddleware.HttpHeaderMiddleware.InvokeAsync(HttpContext context)
at Forguncy.KatanaMiddleware.ExceptionTraceMiddleware.InvokeAsync(HttpContext context)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2147024809,
"Source": "Forguncy.Server2",
"WatsonBuckets": null,
"ParamName": "tableName"
}
|