找回密码
 立即注册

QQ登录

只需一步,快速开始

ziken 活字格认证

中级会员

28

主题

127

帖子

827

积分

中级会员

积分
827

活字格高级认证微信认证勋章活字格认证

ziken 活字格认证
中级会员   /  发表于:2021-1-10 13:01  /   查看:1553  /  回复:2
10金币


某项目用到内置库视图,开发中为了梳理视图名称以便于维护,需要对已被页面引用且包含关联字段的视图进行更名
更名后,调试页面出错,提示如下,红色字体为 更名前的视图名称

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"
}

最佳答案

查看完整内容

您好,这个我们调查了一下,是一个问题,问题ID:F-3312,这边后续会修复。 目前视图改名后,需要您重新绑定一下,或者删除这个表格,然后ctrl+z撤销一下,应该就好啦~

2 个回复

倒序浏览
最佳答案
最佳答案
Tracy.Liu讲师达人认证 悬赏达人认证 活字格认证
论坛元老   /  发表于:2021-1-10 13:01:52
来自 3#
您好,这个我们调查了一下,是一个问题,问题ID:F-3312,这边后续会修复。
目前视图改名后,需要您重新绑定一下,或者删除这个表格,然后ctrl+z撤销一下,应该就好啦~

评分

参与人数 1满意度 +5 收起 理由
ziken + 5

查看全部评分

回复 使用道具 举报
COLD悬赏达人认证
高级会员   /  发表于:2021-1-10 14:27:35
2#
私聊我,发QQ远程看下
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部