Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-287

Project tree select only shows a certain number of projects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.2.6
    • Fix Version/s: 6.16.0
    • Labels:
    • Sprint:
      DevTools 58, DevTools 59, DevTools 60, DevTools 89, DevTools 90, DevTools 91
    • Critical Points:
      0.8

      Description

      The number of results returned in a page is controlled by the page.max.projects system property. So even if you request an unlimited number of projects you never get more than what is defined in page.max.projects

      1. Create >1000 projects in a single BB instance (I did 1579 as this was how many the customer had).
      2. Go to e.g. Script Merge Checks > Custom Merge Check.
      3. The tree of checkboxes only displays the first 1000 projects (ordered by name).
        • Moreover, the JSON received by the front end only contains those projects and not the rest.
        • [In the customer's case the number of projects in the list was slightly lower (969):¬†suspect this may have to do with presence of personal repos and/or repos inside projects. Customer has ~200 users with personal repos: total number of such repos is ~1000. Overall number of repos is ~7400.]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rlander Reece Lander
              Reporter:
              jchoules Joanna Choules
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: