保存项目属性的时候报错,不应该吧?
一、全局表事件 DataRowAdding:
此主题相关图片如下:保存项目属性时报错2.jpg

在全局表事件 DataRowAdding 中的代码:
' 新增行时,自动将 "用户名" 添加到 "相应的内容" 之中
If User.Type <> UserTypeEnum.Developer Then
If e.DataTable.DataCols.Contains("录入者") Then
e.DataRow("录入者") = User.Name
Else
e.Cancel = False '不做任何处理
End If
End If
二、全局表事件 StartEdit:

此主题相关图片如下:保存项目属性时报错.jpg

在全局表事件 StartEdit 中的代码:
' 禁止使用者编辑别人行的内容
If User.Type <> UserTypeEnum.Developer Then
If e.Table.Cols.Contains("录入者") And User.Name = e.Row("录入者") Then '如果使用者是录入者
e.Cancel = False ' 允许编辑当前行
Else
e.Cancel = True ' 不允许编辑当前行
End If
End If
三、之前,使用的没什么问题,昨天升级 FT 版本后出现的。
而且,在打开的代码编辑页面上,还不能保存代码了,只能按关闭(x)退出。
这个问题,和升级 FT 版本有关系吗?