已解决 需求修改页面无法保存

进入需求修改页面后,无论做出什么样的修改(甚至不修改),点击保存后按钮变灰,页面不刷新,修改无法得到保存

在admin账户下问题复现

禅道版本 18.0 RPM包
操作系统 CentOS
客户端浏览器 Chrome

提问者: mali 悬赏:5 日期: 2023-01-29 11:08:57 答案:1 点击:343

获取技术支持

QQ: 电话:
设置备注
答案列表
2023/01/29

可以先看下日志有没有特殊的提示:

zentao/config/my.php 中debug的值改成true  重新操作一下 看日志文件 zentao/tmp/log/php开头的今天的文件有什么报错。注:不要找sql开头的文件。


如果没有日志信息,可以联系官网顶部商务QQ,邀请加入技术交流群,群里一起确认下。
2023/01/29
你好,按照所述操作后,php.20230129.log.php中出现以下记录:
13:43:42 Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in /opt/zentao/module/story/model.php:903
Stack trace:
#0 /opt/zentao/module/story/model.php(903): array_filter()
#1 /opt/zentao/module/story/control.php(836): storyModel->update()
#2 /opt/zentao/framework/base/router.class.php(2199): story->edit()
#3 /opt/zentao/www/index.php(74): baseRouter->loadModule()
#4 {main}
thrown in /opt/zentao/module/story/model.php on line 903 when visiting story-edit-343-default-story

13:43:45 Attempt to read property "model" on array in /opt/zentao/module/story/view/view.html.php on line 88 when visiting story-view-343

13:43:45 Undefined property: stdClass::$importToLib in /opt/zentao/module/story/view/view.html.php on line 660 when visiting story-view-343

13:43:45 Undefined property: stdClass::$lib in /opt/zentao/module/story/view/view.html.php on line 666 when visiting story-view-343

13:43:45 Undefined variable $libs in /opt/zentao/module/story/view/view.html.php on line 668 when visiting story-view-343

13:43:50 Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in /opt/zentao/module/story/model.php:903
Stack trace:
#0 /opt/zentao/module/story/model.php(903): array_filter()
#1 /opt/zentao/module/story/control.php(836): storyModel->update()
#2 /opt/zentao/framework/base/router.class.php(2199): story->edit()
#3 /opt/zentao/www/index.php(74): baseRouter->loadModule()
#4 {main}
thrown in /opt/zentao/module/story/model.php on line 903 when visiting story-edit-343-default-story

13:45:45 ERROR: the control file module/measurement/control.php not found. in framework/base/router.class.php on line 1426, last called by framework/router.class.php on line 441 through function setControlFile.
in /opt/zentao/framework/base/router.class.php on line 2845 when visiting cron-ajaxExec-0


cron.20230129.log.php中出现以下记录:
13:45:45 task 8 executed,
command: moduleName=mail&methodName=asyncSend.
return : .
output :
OK

13:45:45 task 9 executed,
command: moduleName=webhook&methodName=asyncSend.
return : .
output :
NO WEBHOOK EXIST.

13:45:45 task 10 executed,
command: moduleName=admin&methodName=deleteLog.
return : .
output :

13:45:45 task 13 executed,
command: moduleName=ci&methodName=checkCompileStatus.
return : .
output :
success
13:45:45 task 14 executed,
command: moduleName=ci&methodName=exec.
return : .
output :
success
13:45:45 task 15 executed,
command: moduleName=mr&methodName=syncMR.
return : .
output :
success
13:45:45 task 16 executed,
command: moduleName=compile&methodName=syncCompile.
return : .
output :
success

saas.20230129.log.php无输出
2023/01/29
禅道环境使用的php版本是什么呢?
2023/01/31
php8.0 用的rpm包
2023/02/01
可以联系官网顶部商务QQ,邀请加入技术交流群,群里一起确认下。