已解决 客户端的通讯录信息不能正常更新,导致会话无法正常添加。
禅道版本 15.4 Windows安装包
操作系统 Windows Server 2008
客户端浏览器 Chrome

提问者: SamWang 悬赏:5 日期: 2021-09-18 10:22:51 答案:1 点击:679

获取技术支持

QQ: 电话:
设置备注
答案列表
2021/09/18

本地新版本测试正常。贵公司xxd 客户端的版本分别是什么版本?


1. xxd/config/xxd.conf中debug设置2,重启xxd,看下xxd的日志有特殊的提示吗?

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


可以看下日志有特殊的提示吗?

2021/10/26
[I] 2021/10/26 00:21:02 [ParseClient] ["sysgetdeptsRequest",["tu77c9mvh400","sysgetdepts",1,0,[],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [switchMethod] API Method : sysgetdepts
[I] 2021/10/26 00:21:02 [TransitData] Server : default
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["sysgetdeptsRequest",["tu77c9mvh400","sysgetdepts",1,0,[],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [RequestInfo] addr : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [RequestInfo] post data : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [TransitData] request json data : ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [ProcessResponse] singular: ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [ParseClient] ["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [switchMethod] API Method : usergetlistbydept
[I] 2021/10/26 00:21:02 [TransitData] Server : default
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [RequestInfo] addr : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [RequestInfo] post data : http://192.168.31.114/zentao/x.php
[E] 2021/10/26 00:21:02 [ExtractParams] JSON unmarshal 'users' error: Invalid JSON, wrong char '.' found at position 4
[E] 2021/10/26 00:21:02 [ParseBackend] extract error: Invalid JSON, wrong char '.' found at position 4
[I] 2021/10/26 00:21:02 [TransitData] request json data :
[E] 2021/10/26 00:21:02 [TransitData] request json data decrypt error: Invalid JSON, wrong char '.' found at position 4
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["syserrorResponse",[0,0,"syserror",0,0,1,null,0,"Invalid JSON, wrong char '.' found at position 4",0]]
[E] 2021/10/26 00:21:02 Transit data error: Invalid JSON, wrong char '.' found at position 4
2021/10/28
这个可能得用 mock 工具调一下了,https://dl.zentao.net/xuanxuan/mock.zip
将服务器 x.php 地址和 key 写好,发送的内容写报错前的最后一个 ParseClient 即:
["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
然后发送看服务端报什么错