Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-5339

Pull request inbox sometimes not showing more than 10 results

    XMLWordPrintable

Details

    Description

      Sometimes the Pull Request Inbox doesn't show more than 10 pull requests. No errors are shown in the logs. For me it is reproducible only once for each user, by the time the user logs in for the first time.

      Using Firefox 32.0.3 in OSX
      Steps to reproduce:

      1. Created 1 branch from master (feature/1.0) and applied a change to it.
      2. Created another 11 branches (feature/1 to feature/11) from master.
      3. Created 11 pull requests, from feature1.0 to the other branches, adding another user as a reviewer.
      4. Logout with the user who created the pull requests, and login with the reviewer.
      5. Click in the Pull Request Inbox and check there are only 10 pull requests listed, despite the number in the icon shows there is 11:

        Notice it doesn't indicate in the bottom that there are No more pull requests.

      After logging out and in again with the same user, the list is full:

      With logs in debug mode, all the information I could see related to inbox is the following, but I'm not sure it is related to rendering the content in the Pull Request Inbox:

      2014-10-07 13:49:42,212 DEBUG [http-nio-7990-exec-2] gustavo @13679PJx829x967x0 11tpb2g 0:0:0:0:0:0:0:1 "GET /getting-started HTTP/1.1" c.a.s.i.i18n.PluginI18nService No values found in any valid locale for key stash.web.header.inbox.pullrequests and locales [pt_BR, pt, en_US, en]
      2014-10-07 13:49:42,736 DEBUG [http-nio-7990-exec-2] gustavo @13679PJx829x977x0 11tpb2g 0:0:0:0:0:0:0:1 "GET /rest/inbox/latest/pull-requests/count HTTP/1.1" c.a.s.p.inbox.rest.InboxResource Retrieving pull request count for user Gustavo
      
      2014-10-07 13:49:45,011 DEBUG [http-nio-7990-exec-1] gustavo @13679PJx829x984x0 11tpb2g 0:0:0:0:0:0:0:1 "GET /rest/inbox/latest/pull-requests HTTP/1.1" c.a.s.p.inbox.rest.InboxResource Retrieving pull requests for user Gustavo
      2014-10-07 13:49:45,034 DEBUG [http-nio-7990-exec-10] gustavo @13679PJx829x985x1 11tpb2g 0:0:0:0:0:0:0:1 "GET /rest/inbox/latest/pull-requests HTTP/1.1" c.a.s.p.inbox.rest.InboxResource Retrieving pull requests for user Gustavo
      

      Also happens in Chrome - version 37.0.2062.124:

      • I also tested logging with another user for the first time in Chrome, and the error is present there too, same way as in Firefox (it seems it doesn't load fully also, as the No more pull requests message is not there).
      • After logging out and in again, the issue is gone.

      The browser's console only mentions a deprecated method, but this is shown with or without the issue in place (both for Firefox and Chrome):

      Workaround
      If the issue persists even after logging out and in again, currently the only workaround is to look at the Pull Requests list directly into the repository:

      1. Go to Repositories in the top bar > click in the repository name.
      2. In the left panel click in Pull Requests.
      3. Look at the tab Open for your opened Pull Requests.

      Attachments

        1. console.png
          console.png
          85 kB
        2. inbox1.png
          inbox1.png
          89 kB
        3. inbox2.png
          inbox2.png
          84 kB

        Issue Links

          Activity

            People

              lzheng Liangliang Zheng (Inactive)
              grefosco Gustavo Refosco (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: