You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by GitBox <gi...@apache.org> on 2022/05/12 11:50:43 UTC
[GitHub] [incubator-devlake] mappjzc opened a new issue, #1868: jira use empty connection data without any error
mappjzc opened a new issue, #1868:
URL: https://github.com/apache/incubator-devlake/issues/1868
## Describe the bug
![image](https://user-images.githubusercontent.com/2921251/168068206-5b9d58cf-f56d-45f7-a65c-9e13c19a8a13.png)
There are no Connection with ConnectionId 1.
So the jira get an empty struct
But here don't sent an error
The empty sturct are using continue.
It is unsafe.
## To Reproduce
Steps to reproduce the behavior:
1. Debug plugins/jira/jira.go with param “-s 1 -b 1” without the database data of ConnectionID 1.
2. break after db.Find and look at the err and connection.
## Expected behavior
A clear and concise description of what you expected to happen.
## Screenshots
If applicable, add screenshots to help explain your problem.
## Additional context
Add any other context about the problem here.
--
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: dev-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh closed issue #1868: jira use empty connection data without any error
Posted by GitBox <gi...@apache.org>.
klesh closed issue #1868: jira use empty connection data without any error
URL: https://github.com/apache/incubator-devlake/issues/1868
--
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: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh commented on issue #1868: jira use empty connection data without any error
Posted by GitBox <gi...@apache.org>.
klesh commented on issue #1868:
URL: https://github.com/apache/incubator-devlake/issues/1868#issuecomment-1125600025
Use `db.First` instead `db.Find`
--
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: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org