Bitbucket import pagination not working
Summary
We are running 11.6, and we are trying to import projects from our local Bitbucket Server and we have hundreds of projects. The first list of projects comes up fine, but when I hit the next button at the bottom of the page, it seems to just advance by 1 or 2 projects at a time until it hit a limit just a few pages in where it won't advance any further, so I'm not able to select projects beyond the first 25-30ish.
Steps to reproduce
- Create a new project in GitLab
- Select the Import project tab
- Click the Bitbucket Server button
- Provide your local Bitbucket URL/credentials
- Scroll to the bottom of the list of projects that come back and click next multiple times.
Example Project
This can only be reproduced using a local Bitbucket server instance
What is the current bug behavior?
The list of projects only advances 1 or 2 projects, until it seems to hit a maximum threshold and no longer advances (even though I know there are additional projects that should be shown)
What is the expected correct behavior?
I would expect the list to advance 25 at a time, letting me advance through the entire set of projects
Relevant logs and/or screenshots
Nothing of note showed up in the logs.
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
I don't have access to our local gitlab server, but we are running an omnibus install and are at version 11.6.4-ee
Results of GitLab application Check
I don't have access to our local gitlab server, but we are running an omnibus install and are at version 11.6.4-ee
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)