[{"operation":"SEC_PermissionBatchAllocateRole.MBIClick.tbAllocate"}]
发生时间:16:36:09
错误来源: .Net SqlClient Data Provider
错误信息:不能在具有唯一索引“IDX_SEC_FUNCPERMISSION”的对象“dbo.T_SEC_FUNCPERMISSION”中插入重复键行。重复键值为 (101598, BD_Supplier)。
语句已终止。
===================================================
调用堆栈:
Server stack trace:
at Kingdee.BOS.App.Data.Sql.SqlDatabase.CopyDataToDestination(SqlConnection cn, DataTable table)
at Kingdee.BOS.App.Data.Sql.SqlDatabase.BulkInserts(DbCommand cmd, DataTable dt)
at Kingdee.BOS.App.Data.DBUtils.BulkInserts(Context ctx, String InsertstrSql, String CreateSql, DataTable dt)
at Kingdee.BOS.App.Security.Permission.Batch.PermissionAllocateProxy.UpdatePermissionInfoForRoles(Context ctx, List`1 roleList, Dictionary`2 objectStatus, Boolean bAsynchronous)
at Kingdee.BOS.App.Security.Permission.PermissionService.AllocatePermissionByRole(Context ctx, Int64[] roleIds, PermissionActionType allocateStatus)
at Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireEndOperationTransaction(EndOperationTransactionArgs e)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IDoNothingService.DoNothingWithDataEntity(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, String operationNumber, OperateOption option)
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.DoNothingWithDataEntity(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, String operationNumber, OperateOption option)
at Kingdee.BOS.Business.DynamicForm.Operation.DoNothing.ExecuteOperation()
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
at Kingdee.BOS.Web.DynamicForm.OperationCaller.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal
环境cloud5.0+8月20日补丁
推荐阅读