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

Code search doesn't work when the profile language is French

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 5.15.0
    • 5.2.1, 5.9.0, 5.9.1
    • Search

    Description

      Summary

      When the profile language in Bitbucket is set to French the code search while searching in the project showing the loading spinner forever.

      Environment

      Chrome, Firefox, IE, Safari latest versions

      Steps to Reproduce

      1. Change the profile language to French
      2. Go to any project and search for some word in the code

      Expected Results

      The search results are shown correctly

      Actual Results

      The search results are loading forever with the error message in console:

      Uncaught TypeError: Cannot read property '1' of null
          at batch.js:301
          at Function.l [as format] (batch.js:302)
          at Object.bitbucket.internal.component.search.resultLoadProgress (search.soy.js?_statichash=d2c001ebb5d929820e8305fc05fd31b5-CDN%2F842201257%2F9d5666b%2F1%2F70548d4b3efb522dd11e90fa3c3df0dd&locale=fr-FR:55)
          at Object.bitbucket.internal.component.search.codeResults (search.soy.js?_statichash=d2c001ebb5d929820e8305fc05fd31b5-CDN%2F842201257%2F9d5666b%2F1%2F70548d4b3efb522dd11e90fa3c3df0dd&locale=fr-FR:46)
          at Object.h (search.js?_statichash=d2c001ebb5d929820e8305fc05fd31b5-CDN%2F842201257%2F9d5666b%2F1%2F70548d4b3efb522dd11e90fa3c3df0dd&locale=fr-FR:4)
          at Object.<anonymous> (batch.js:27)
          at j (batch.js:27)
          at Object.fireWith [as resolveWith] (batch.js:27)
          at Object.<anonymous> (batch.js:27)
          at j (batch.js:27)
      

      Attachments

        Issue Links

          Activity

            People

              hwiggers Dick (Inactive)
              ashaleev Anton Shaleev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: