UCML编辑了某个BPO之后.页面报错,提示如下信息
参数化查询 '(@ActivityID nvarchar(4000))SELECT ActivityInfoEx.ActivityInfoEx' 需要参数 '@ActivityID',但未提供该参数。
但是我没有设置任何关于permiss的限制.查看UCML的设置.看到有如下checkbox被勾选了. 可能是误操作点击到.导致页面权限问题,将勾选框去掉.生成B/S业务单元后.即可正常访问页面了.
打开sql profile.看到有如下sql语句
exec sp_executesql N'SELECT
ActivityInfoEx.ActivityInfoExOID,ActivityInfoEx.ActivityID,ActivityInfoEx.Name,ActivityInfoEx.ActivityType,ActivityInfoEx.Descriptions,ActivityInfoEx.Limit,ActivityInfoEx.DelayTime,ActivityInfoEx.DeadlineExecution,ActivityInfoEx.ExceptionName,ActivityInfoEx.Priority,ActivityInfoEx.WorkflowReference,ActivityInfoEx.SubflowType,ActivityInfoEx.BPOID,ActivityInfoEx.JionMode,ActivityInfoEx.SplitMode,ActivityInfoEx.NodePosition,ActivityInfoEx.RoleInfoOID,ActivityInfoEx.EffectiveAfter,ActivityInfoEx.AutoDeadline,ActivityInfoEx.AutoReAssign,ActivityInfoEx.TaskAssignMode,UCML_GROUPMaster.Performer
Performer,ActivityInfoEx.MasterRunner,ActivityInfoEx.CounterSignRunner,ActivityInfoEx.ViewRunner,ActivityInfoEx.CounterSignRunnerInner,ActivityInfoEx.ViewRunnerInner,ActivityInfoEx.MasterRunnerInner,ActivityInfoEx.TaskRunMode,ActivityInfoEx.MessageType,ActivityInfoEx.AfterAssignMsg,ActivityInfoEx.AfterMyFinishMsg,ActivityInfoEx.TimeOutMessage,ActivityInfoEx.AfterMyFinishSendTo,ActivityInfoEx.AfterFinishTaskSendTo,ActivityInfoEx.AfterFinishFlowSendTo,ActivityInfoEx.BusinessTableName,ActivityInfoEx.BusinessTablePK,ActivityInfoEx.FlowSavePKFieldName,ActivityInfoEx.BusinessStateField,ActivityInfoEx.StateValue,ActivityInfoEx.fAutoChangeBusiState,ActivityInfoEx.fAutoChangeTaskTle,ActivityInfoEx.BusinessTitleField,ActivityInfoEx.OpinionDispMode,ActivityInfoEx.OpinionNum,ActivityInfoEx.IdeaFieldName,ActivityInfoEx.IsSignActivity,ActivityInfoEx.fSignOneByOne,ActivityInfoEx.HelpRunnerInner,ActivityInfoEx.HelpRunner,ActivityInfoEx.TimeOutMode,ActivityInfoEx.LimitDateField,ActivityInfoEx.TimeoutRemind,ActivityInfoEx.RemindCycleUnit,ActivityInfoEx.AlertFrequency,ActivityInfoEx.NumberOfReminders,ActivityInfoEx.ExtendData,ActivityInfoEx.NonDoManSkip,ActivityInfoEx.SkipWhenSameDoMan,ActivityInfoEx.SkipWhenSameXXXDoMan,ActivityInfoEx.SkipActivityName,ActivityInfoEx.fRecordCreateTS,ActivityInfoEx.RecordCreateTSRecord,ActivityInfoEx.PerformerFieldName,ActivityInfoEx.fRecordPerformerToField,ActivityInfoEx.BPOParam,ActivityInfoEx.fTimeoutMessageToReport,ActivityInfoEx.IsUseMessageTpl,ActivityInfoEx.AssignMessageTpl,ActivityInfoEx.TimeoutMessageTpl,ActivityInfoEx.TaskFinishMessageTpl,ActivityInfoEx.TaskCreateMessageTpl,ActivityInfoEx.TimeoutBakExecuter,ActivityInfoEx.TimeoutBakExecuterInner,ActivityInfoEx.NotAllowViewIdeaNodes,ActivityInfoEx.NotAllowGotoNodes,ActivityInfoEx.FlowModelExOID,ActivityInfoEx.Performer_FK,ActivityInfoEx.TaskAssigner_FK,ActivityInfoEx.UCMLClass_FK,ActivityInfoEx.SYS_ActivityModelOID,ActivityInfoEx.SYS_BusiOpinionDefOID
FROM ActivityInfoEx LEFT OUTER JOIN UCML_GROUPMaster ON ActivityInfoEx.Performer_FK = UCML_GROUPMaster.UCML_GROUPMasterOID WHERE (ActivityInfoEx.ActivityID = @ActivityID)',N'@ActivityID nvarchar(4000)',@ActivityID=default
但是我饿页面并没有关于要查询 ActivityInfoEx这个表的数据.
使用文件比较文件.看到新旧文件有如下
旧文件:
fFromActivityPermiss = false;
新文件
fFromActivityPermiss = true;
但是我没有设置任何关于permiss的限制.查看UCML的设置.看到有如下checkbox被勾选了. 可能是误操作点击到.导致页面权限问题,将勾选框去掉.生成B/S业务单元后.即可正常访问页面了.
表里面的数据是这样的.没什么用.