- changed title to Commit Graph - Breaks Bamboo integration
Commit Graph - Breaks Bamboo integration
Hi,
Installing/enabling Commit Graph (version 2020.09.05) in Bitbucket Server 7.5.1/7.5.2 break the links to integrated Bamboo test results at the right side of the Commits list (see image). Disabling the add-on instantly make them work again.
Instead of linking to “/projects/KEY/repos/repo/build?at=commitid”, the buttons simply link to “undefined”, indicating a JavaScript problem.
The console log is flooded with messages like these when I hover over commits in the Commits list. It’s probably related:
Uncaught TypeError: Cannot read property 'removeAttribute' of null
at HTMLTableRowElement.<anonymous> (bbcg.js?_statichash=aef2fccbdf2b57605f7763c9b32373cc-CDN%2F-768849717%2F2bee18b%2F1%2F99c68a4c9223eb07ad507431ac464cbf&isJiraLinked=true&locale=en-US:1199)
at HTMLTableRowElement.handle (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
at HTMLTableRowElement.dispatch (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
at HTMLTableRowElement.v.handle (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
(anonymous) @ bbcg.js?_statichash=aef2fccbdf2b57605f7763c9b32373cc-CDN%2F-768849717%2F2bee18b%2F1%2F99c68a4c9223eb07ad507431ac464cbf&isJiraLinked=true&locale=en-US:1199
handle @ jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30
dispatch @ jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30
v.handle @ jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30
bbcg.js?_statichash=aef2fccbdf2b57605f7763c9b32373cc-CDN%2F-768849717%2F2bee18b%2F1%2F99c68a4c9223eb07ad507431ac464cbf&isJiraLinked=true&locale=en-US:1192 Uncaught TypeError: Cannot read property 'setAttribute' of null
at HTMLTableRowElement.<anonymous> (bbcg.js?_statichash=aef2fccbdf2b57605f7763c9b32373cc-CDN%2F-768849717%2F2bee18b%2F1%2F99c68a4c9223eb07ad507431ac464cbf&isJiraLinked=true&locale=en-US:1192)
at HTMLTableRowElement.handle (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
at HTMLTableRowElement.dispatch (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
at HTMLTableRowElement.v.handle (jquery.js?_statichash=53a6a5241305068a8acc627dfa3e13c7-CDN%2F-768849717%2F2bee18b%2F1%2F7ffaa23f612df69467f160b585b19419&locale=en-US:30)
The “Builds” links on the All Branches Graph are also broken, but in a slightly different way.
Comments (6)
-
repo owner -
repo owner - changed status to open
Thanks for this bug report. We plan to have a release out with a fix within the next couple weeks.
-
Account Deactivated This is a result of a bug in Bitbucket 7.4 and 7.5, fixed in Bitbucket 7.6. The bugfix should be also backported to 7.4 and 7.5.
The bug can be found here: https://jira.atlassian.com/browse/BSERV-12608
-
Account Deactivated reporter Thanks,
Upgrading to Bitbucket Server 7.6.0 does indeed resolve the primary issue: broken build links in the Commits list. However, now there are no build links at all on the All Branches Graph. Also, the JS console errors on mouseover remain.
-
repo owner - changed status to resolved
WHEW ! I thought this was a pretty weird bug. Thank you Tomasz for reporting that it's a regression in Bitbucket and has nothing to do with Commit-Graph.
To commit-graph customers experiencing this bug: please either downgrade to Bitbucket 7.3.x or upgrade to 7.6.x. Or keep an eye https://jira.atlassian.com/browse/BSERV-12608 to see when a Bitbucket version in 7.4.x or 7.5.x receives the fix.
-
repo owner - changed status to open
Oh, nevermind, re-opening this, as apparently Bitbucket 7.6.0 does not completely fix the issue with respect to Commit-Graph's interaction with those Bamboo links (within Commit-Graph's own all-branches-graph).
- Log in to comment