narrowizard opened a new issue, #5904:
URL: https://github.com/apache/incubator-devlake/issues/5904

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   While using DevLake to collect development data from Zentao, an error 
occurred. The subtask extractStoryRepoCommits ended unexpectedly. The error 
message indicated that there was an issue with the JSON data. Specifically, the 
system could not unmarshal an array into the Go struct field 
ZentaoStoryRepoCommitsRes.changes of type.
   
   ### What do you expect to happen
   
    The expected behavior is that DevLake should be able to successfully 
collect and process data from Zentao without any errors. The subtask 
extractStoryRepoCommits should be able to handle the JSON data correctly and 
unmarshal arrays into the appropriate Go struct fields.
   
   ### How to reproduce
   
   Start DevLake and initiate data collection from Zentao.
   Monitor the process and observe the error when the subtask 
extractStoryRepoCommits is running.
   The error message "json: cannot unmarshal array into Go struct field 
ZentaoStoryRepoCommitsRes.changes of type" will appear, indicating the issue.
   
   ### Anything else
   
   
![image](https://github.com/apache/incubator-devlake/assets/11383928/c69d598b-2e1b-48f6-a776-ed2cf8124047)
   
   
   ### Version
   
   release-v0.18
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to