apache / incubator-devlake

Apache DevLake is an open-source dev data platform to ingest, analyze, and visualize the fragmented data from DevOps tools, extracting insights for engineering excellence, developer experience, and community growth.
https://devlake.apache.org/
Apache License 2.0
2.6k stars 521 forks source link

[Bug][zentao] Collect data error with zentao v18.5 #6098

Closed mickey50 closed 7 months ago

mickey50 commented 1 year ago

Search before asking

What happened

When collect bug data , the task failed: time="2023-09-15 17:13:22" level=warning msg=" [pipeline service] [pipeline #2] [task #7] [api async client] retry #0 calling /projects/575/bugs\n\tcaused by: Http DoAsync error calling [GET /projects/575/bugs]. Response: {\"status\":\"success\",\"data\":\"{\\"locate\\":\\"http:\\\/\\\/58.247.92.122:8765http:\\\/\\\/111.111.111.111:8765\\\/user-deny-project-bug.json\\"}\",\"md5\":\"a833d1a5f58b294fbcd5c623d39eb433\"}
\n\t17:13:22 Uncaught Error: Call to undefined method helper::end() in module/common/model.php:413
\n\tStack trace:
\n\t#0 module/project/model.php(2867): commonModel->deny('project', 'bug', false)
\n\t#1 module/project/control.php(1174): projectModel->setMenu('575')
\n\t#2 api/v1/entries/projectbugs.php(27): project->bug('575', 0, 0, 'status,id_desc', 0, 'all', 0, 0, '100', '1')
\n\t#3 framework/api/router.class.php(216): projectBugsEntry->get('575')
\n\t#4 www/api.php(49): api->loadModule()
\n\t#5 {main}
\n\t thrown in module/common/model.php on line 413 when visiting
\n\t (403)"

What do you expect to happen

collect bug data into lake

How to reproduce

collect data from zentao v18.5

Anything else

where test the " /projects/575/bugs " with postman ,it have same error ,ant I can't find this api in zentao's apidoc

Version

release_v0.19

Are you willing to submit PR?

Code of Conduct

d4x1 commented 1 year ago

Devlake is tested in zentao open source version 18.3. We need some time to upgrade to 18.5. @mickey50

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] commented 7 months ago

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.