Javascript error in commit dropdown (BB-8951)

Chris Sumner avatarChris Sumner created an issue

When trying to change the commit point of a source file, the drop-down appears after clicking on the current commit button as usual. However, the loading image is displayed but not replaced with a list of commit points for that file. This happens in Source and Diff pages the majority of the time i attempt to use it.

After looking at the console log i have found this error: "Uncaught TypeError: Cannot read property '1' of null" after trying to select a new commit point.

I am using a Windows 8 PC running Google Chrome Version 28.0.1500.72 m. This isn't a major issue however it does limit the functionality of some of Bitbucket's features.

Comments (5)

  1. Brian Nguyen

    Hi Chris,

    Thanks for letting us know. I've tried to reproduce this error on my own repositories but I haven't been able to. We have received reports of this happening for other users but the problem appears to be intermittent.

    I do have a couple of questions, does this error occur on all of you repositories, or is it only on particular ones. Also do you see this issue on Internet Explorer or Firefox?

    Cheers, Brian

  2. Chris Sumner

    Hi Brian,

    Thanks for looking into this. I can confirm that this is an issue on all repositories that i have looked at today. I have tested this on IE10 and Firefox version 22 and they don't seem to be replicating the issue.

    It looks like this is an issue specific to Chrome, which i have tested with and without add-on's disabled.

    Thanks, Chris

  3. Brian Nguyen

    Hi Chris,

    Thanks for the additional information. I managed to track down the error and have just deployed a fix. Please let us know if you have any other issues.

    Cheers, Brian

  4. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.