起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2352|回复: 3

[处理中3] 急~非流程Activity 中不存在Action

[复制链接]

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
发表于 2019-7-25 16:13:18 | 显示全部楼层 |阅读模式
本帖最后由 sandgia 于 2019-7-25 16:33 编辑

定义Activity "/SA/OPM/system/systemProcess,mainActivity"出错, "/SA/OPM/system/systemProcess,mainActivity"中不存在Action "createBID_CONSTRUCTORAction"

这个应该是X5的本身模块吧,在跳转的时候报出这个错误,Action是业务流程中的,为什么会这样?

这种错误以前一般也就登录的时候会出来一次,然后页面刷新就好了,可是这一次一直在报错。
后台报错:
2019-07-25 16:08:02 [SQL Time]sql 执行时间:7ms, exec KSQL: select SA_DocLinkDefine,SA_DocLinkDefine.sDefineItems,SA_DocLinkDefine.sActivity,SA_DocLinkDefine.sPersonFID from SA_DocLinkDefine SA_DocLinkDefine where (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and (SA_DocLinkDefine.sActivity='' or SA_DocLinkDefine.sActivity IS NULL)) or (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and SA_DocLinkDefine.sActivity='mainActivity')  order by SA_DocLinkDefine.sActivity desc
  --> sql:SELECT  SA_DocLinkDefine.sID, SA_DocLinkDefine.SDEFINEITEMS AS sDefineItems, SA_DocLinkDefine.SACTIVITY AS sActivity, SA_DocLinkDefine.SPERSONFID AS sPersonFID FROM SA_DocLinkDefine SA_DocLinkDefine  WHERE  ( (SA_DocLinkDefine.SPROCESS = ?) AND ( (SA_DocLinkDefine.SACTIVITY = ?) OR (SA_DocLinkDefine.SACTIVITY IS NULL) ) ) OR ( (SA_DocLinkDefine.SPROCESS = ?) AND (SA_DocLinkDefine.SACTIVITY = ?) )   ORDER BY SA_DocLinkDefine.SACTIVITY DESC
--> binds:[/SA/OPM/system/systemProcess, , /SA/OPM/system/systemProcess, mainActivity]
2019-07-25 16:08:02 [SQL Time]sql 执行时间:9ms, exec KSQL: select SA_DocLinkDefine,SA_DocLinkDefine.sDefineItems,SA_DocLinkDefine.sActivity,SA_DocLinkDefine.sPersonFID from SA_DocLinkDefine SA_DocLinkDefine where (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and (SA_DocLinkDefine.sActivity='' or SA_DocLinkDefine.sActivity IS NULL)) or (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and SA_DocLinkDefine.sActivity='mainActivity')  order by SA_DocLinkDefine.sActivity desc
  --> sql:SELECT  SA_DocLinkDefine.sID, SA_DocLinkDefine.SDEFINEITEMS AS sDefineItems, SA_DocLinkDefine.SACTIVITY AS sActivity, SA_DocLinkDefine.SPERSONFID AS sPersonFID FROM SA_DocLinkDefine SA_DocLinkDefine  WHERE  ( (SA_DocLinkDefine.SPROCESS = ?) AND ( (SA_DocLinkDefine.SACTIVITY = ?) OR (SA_DocLinkDefine.SACTIVITY IS NULL) ) ) OR ( (SA_DocLinkDefine.SPROCESS = ?) AND (SA_DocLinkDefine.SACTIVITY = ?) )   ORDER BY SA_DocLinkDefine.SACTIVITY DESC
--> binds:[/SA/OPM/system/systemProcess, , /SA/OPM/system/systemProcess, mainActivity]
2019-07-25 16:08:02 [SQL Time]sql 执行时间:4ms, exec KSQL: select SA_DocLinkDefine,SA_DocLinkDefine.sDefineItems,SA_DocLinkDefine.sActivity,SA_DocLinkDefine.sPersonFID from SA_DocLinkDefine SA_DocLinkDefine where (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and (SA_DocLinkDefine.sActivity='' or SA_DocLinkDefine.sActivity IS NULL)) or (SA_DocLinkDefine.sProcess='/SA/OPM/system/systemProcess' and SA_DocLinkDefine.sActivity='mainActivity')  order by SA_DocLinkDefine.sActivity desc
  --> sql:SELECT  SA_DocLinkDefine.sID, SA_DocLinkDefine.SDEFINEITEMS AS sDefineItems, SA_DocLinkDefine.SACTIVITY AS sActivity, SA_DocLinkDefine.SPERSONFID AS sPersonFID FROM SA_DocLinkDefine SA_DocLinkDefine  WHERE  ( (SA_DocLinkDefine.SPROCESS = ?) AND ( (SA_DocLinkDefine.SACTIVITY = ?) OR (SA_DocLinkDefine.SACTIVITY IS NULL) ) ) OR ( (SA_DocLinkDefine.SPROCESS = ?) AND (SA_DocLinkDefine.SACTIVITY = ?) )   ORDER BY SA_DocLinkDefine.SACTIVITY DESC
--> binds:[/SA/OPM/system/systemProcess, , /SA/OPM/system/systemProcess, mainActivity]
2019-07-25 16:08:02 excute stream action, params:{"accept":"application/json","action":"createBID_CONSTRUCTORAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"BID_CONSTRUCTOR","idColumnName":"BID_CONSTRUCTOR","idColumnType":"String","model":"/ERP/BID/BidConstructor/data","relationAlias":"ConstructUnit,acceptance_Letter,accountUnit,accountUnitCode,beforeID,beginDate,bidResult,changeContent,endDate,endOrNot,endReport,fActivity,fActivityName,fCreateDeptCode,fCreateDeptID,fCreateDeptName,fCreatePerson,fCreatePersonCode,fCreatePersonFID,fCreatePersonID,fCreateTime,fListNum,fProcessID,fTaskID,fUpdateTime,isChange,major,prjChief,prjChiefCode,prjChiefID,prjDept,prjDeptCode,prjName,prjNo,prjType,processStatus,projectName,remark,resultChiefOrNot,version,yesOrNot","relationTypes":"String,String,String,String,String,Date,String,String,Date,String,String,String,String,String,String,String,String,String,String,String,DateTime,String,String,String,DateTime,Integer,String,String,String,String,String,String,String,String,String,Integer,String,String,String,Integer,Integer","relations":"BID_CONSTRUCTOR.ConstructUnit,BID_CONSTRUCTOR.acceptance_Letter,BID_CONSTRUCTOR.accountUnit,BID_CONSTRUCTOR.accountUnitCode,BID_CONSTRUCTOR.beforeID,BID_CONSTRUCTOR.beginDate,BID_CONSTRUCTOR.bidResult,BID_CONSTRUCTOR.changeContent,BID_CONSTRUCTOR.endDate,BID_CONSTRUCTOR.endOrNot,BID_CONSTRUCTOR.endReport,BID_CONSTRUCTOR.fActivity,BID_CONSTRUCTOR.fActivityName,BID_CONSTRUCTOR.fCreateDeptCode,BID_CONSTRUCTOR.fCreateDeptID,BID_CONSTRUCTOR.fCreateDeptName,BID_CONSTRUCTOR.fCreatePerson,BID_CONSTRUCTOR.fCreatePersonCode,BID_CONSTRUCTOR.fCreatePersonFID,BID_CONSTRUCTOR.fCreatePersonID,BID_CONSTRUCTOR.fCreateTime,BID_CONSTRUCTOR.fListNum,BID_CONSTRUCTOR.fProcessID,BID_CONSTRUCTOR.fTaskID,BID_CONSTRUCTOR.fUpdateTime,BID_CONSTRUCTOR.isChange,BID_CONSTRUCTOR.major,BID_CONSTRUCTOR.prjChief,BID_CONSTRUCTOR.prjChiefCode,BID_CONSTRUCTOR.prjChiefID,BID_CONSTRUCTOR.prjDept,BID_CONSTRUCTOR.prjDeptCode,BID_CONSTRUCTOR.prjName,BID_CONSTRUCTOR.prjNo,BID_CONSTRUCTOR.prjType,BID_CONSTRUCTOR.processStatus,BID_CONSTRUCTOR.projectName,BID_CONSTRUCTOR.remark,BID_CONSTRUCTOR.resultChiefOrNot,BID_CONSTRUCTOR.version,BID_CONSTRUCTOR.yesOrNot","updateMode":"whereVersion"}}},"process":"/SA/OPM/system/systemProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"BID_CONSTRUCTOR","sequence":"BID_CONSTRUCTOR,ConstructUnit,acceptance_Letter,accountUnit,accountUnitCode,beforeID,beginDate,bidResult,changeContent,endDate,endOrNot,endReport,fActivity,fActivityName,fCreateDeptCode,fCreateDeptID,fCreateDeptName,fCreatePerson,fCreatePersonCode,fCreatePersonFID,fCreatePersonID,fCreateTime,fListNum,fProcessID,fTaskID,fUpdateTime,isChange,major,prjChief,prjChiefCode,prjChiefID,prjDept,prjDeptCode,prjName,prjNo,prjType,processStatus,projectName,remark,resultChiefOrNot,version,yesOrNot"},"transformIdcolumn":true,"useNamespace":true}}
com.justep.model.exception.ModelException: 编码: JUSTEP151005; 提示: 定义Activity "/SA/OPM/system/systemProcess,mainActivity"出错, "/SA/OPM/system/systemProcess,mainActivity"中不存在Action "createBID_CONSTRUCTORAction"
    at com.justep.model.exception.ModelException.create(Unknown Source)
    at com.justep.model.impl.ActivityImpl.getAction(Unknown Source)
    at com.justep.system.action.Engine.invokeActions(Native Method)
    at com.justep.system.action.Engine.invokeActions(Unknown Source)
    at com.justep.business.server.BusinessServer.doAction(Unknown Source)
    at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
    at com.justep.business.server.BusinessServer.excute(Unknown Source)
    at com.justep.business.server.BusinessServer.excute(Unknown Source)
    at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
    at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
不多贴了


前台报错:
Uncaught Error: __justepServerErrorStart__{"message":"新增数据失败! , \n定义Activity \"/SA/OPM/system/systemProcess,mainActivity\"出错, \"/SA/OPM/system/systemProcess,mainActivity\"中不存在Action \"createBID_CONSTRUCTORAction\"","reason":"","code":"JUSTEP151005","stack":"com.justep.model.exception.ModelException: 编码: JUSTEP151005; 提示: 定义Activity \"/SA/OPM/system/systemProcess,mainActivity\"出错, \"/SA/OPM/system/systemProcess,mainActivity\"中不存在Action \"createBID_CONSTRUCTORAction\"\r\n\tat com.justep.model.exception.ModelException.create(Unknown Source)\r\n\tat com.justep.model.impl.ActivityImpl.getAction(Unknown Source)\r\n\tat com.justep.system.action.Engine.invokeActions(Native Method)\r\n\tat com.justep.system.action.Engine.invokeActions(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doAction(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doExcute(Unknown Source)\r\n\tat
不多贴了
变为hide会报出这个错误.png 补充:我发现,菜单中这个目录我要hide,就会出错,将它设置为无,就不会有错,这是什么回事?


91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36071
发表于 2019-7-25 16:59:58 | 显示全部楼层
页面怎么打开的?自己代码打开的就自己写完整的路径拼接上process和activity
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

407

主题

926

帖子

2039

积分

金牌会员

Rank: 6Rank: 6

积分
2039
QQ
 楼主| 发表于 2019-7-25 20:47:57 | 显示全部楼层
jishuang 发表于 2019-7-25 16:59
页面怎么打开的?自己代码打开的就自己写完整的路径拼接上process和activity

        var url3 = "$UI/ERP/BID/BidConstructor/process/bidConstructorChange/mainActivity.w";
                            justep.Shell.showPage(url3, {
                                    process : "/ERP/BID/BidConstructor/process/bidConstructorChange/bidConstructorChangeProcess",
                                    activity : "apply",
                                    beforeID:row.val("VIEW_CONSTRUCTOR_SEARCH"),
                                    FLISTNUM : row.val("FLISTNUM"),
                                    PRJNAME : row.val("PRJNAME"),
                                    CONSTRUCTUNIT : row.val("CONSTRUCTUNIT"),
                                    PRJCHIEFID : row.val("PRJCHIEFID"),
                                    PRJCHIEF : row.val("PRJCHIEF"),
                                    PRJDEPT : row.val("PRJDEPT"),
                                    PRJDEPTCODE : row.val("PRJDEPTCODE"),
                                    MAJOR : row.val("MAJOR"),
                                    PRJTYPE : row.val("PRJTYPE"),
                                    BEGINDATE : row.val("BEGINDATE"),
                                    ENDORNOT : row.val("ENDORNOT"),
                                    ENDDATE : row.val("ENDDATE"),
                                    ACCEPTANCE_LETTER : row.val("ACCEPTANCE_LETTER"),
                                    BIDRESULT : row.val("BIDRESULT"),
                                    ENDREPORT : row.val("ENDREPORT"),
                                    REMARK : row.val("REMARK"),
                                    PROJECTNAME : row.val("PROJECTNAME"),
                                    PRJNO : row.val("PRJNO"),
                                    ACCOUNTUNIT : row.val("ACCOUNTUNIT"),
                                    ACCOUNTUNITCODE : row.val("ACCOUNTUNITCODE"),
                                    RESULTCHIEFORNOT : row.val("RESULTCHIEFORNOT"),
                                    PRJCHIEFCODE : row.val("PRJCHIEFCODE"),
                                    CHANGECONTENT : row.val("CHANGECONTENT")                                                   
                });
                            };


这个代码中没有涉及到 "/SA/OPM/system/systemProcess,mainActivity",怎么会报与这相关的错误?
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36071
发表于 2019-7-26 09:29:31 | 显示全部楼层
F12打开浏览器的开发人员调试工具看network中监控的url,这个.w的url上process和activity是什么
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-30 07:41 , Processed in 0.099634 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表