-
-
Notifications
You must be signed in to change notification settings - Fork 493
Open
Labels
bugSomething isn't workingSomething isn't workingforge/bitbucketbitbucket forge relatedbitbucket forge related
Description
Component
web-ui, server
Describe the bug
For bitbucket datacenter repositories which have spaces in their display name (e.g. 'test repo'), the 'Repair Repository' button doesn't work. When pressed, an 'unknown error' message appears. In the server logs, I see 'error: unable to find repository with id:<remote_forge_id> message: get repo 'test-repo' from forge'.
After renaming the repo with a name that doesn't include spaces, the repair repository button works as expected.
Steps to reproduce
- Install woodpecker server version 3.12 and configure it to work with bitbucket datacenter.
- Create a repository in bitbucket with a blank space in the name
- Enable the repository in woodpecker
- Go to settings -> actions -> repair repo
Expected behavior
When clicking the repair repo button the action succeeds.
System Info
Woodpecker server version 3.12, run on rancher rke2, using postgres version 14.7, and bitbucket datacenter V8.19.5Additional context
No response
Validations
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Checked that the bug isn't fixed in the
nextversion already [https://woodpecker-ci.org/versions]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingforge/bitbucketbitbucket forge relatedbitbucket forge related