Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Bitbucket] Error looping indefinitely during Bitbucket sync due to failed getting SubTaskInfo #7440

Open
3 tasks done
yusufsyaifudin opened this issue May 8, 2024 · 2 comments
Labels
type/bug This issue is a bug

Comments

@yusufsyaifudin
Copy link
Contributor

yusufsyaifudin commented May 8, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I am using Postgres as my database and connect to one of my repositories in Bitbucket, but during sync I found this error

image

I am sure that it is triggered by this code:
https://github.com/apache/incubator-devlake/blob/v1.0.0-beta6/backend/server/services/task.go#L309

This happened because Postgres doesn't support compare boolean in column is_collector with operator = 1.

image

What do you expect to happen

It should not break both for Postgres and MySQL.

How to reproduce

Install Devlake and Devlake Config UI version v1.0.0-beta6, using Postgres as database.

Anything else

No response

Version

v1.0.0-beta6

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@abeizn
Copy link
Contributor

abeizn commented May 10, 2024

@yusufsyaifudin It takes effect in version v1.0.0-beta7.

@yusufsyaifudin
Copy link
Contributor Author

@yusufsyaifudin It takes effect in version v1.0.0-beta7.

sorry, haven't tried it again yet, I use v0.21.0 because the db migration (only creating schema at first run) seems too long, so I use v0.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

2 participants