Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side-bar counters stopped working, error in console #321

Closed
bgr opened this issue Dec 14, 2019 · 2 comments · Fixed by #322
Closed

Side-bar counters stopped working, error in console #321

bgr opened this issue Dec 14, 2019 · 2 comments · Fixed by #322

Comments

@bgr
Copy link

bgr commented Dec 14, 2019

I've been missing the numbers in the side-bar (number of pull-requests, branches, etc.) for about a week now. I tried updating the extension, I'm on 3.18.1 in Chrome 79.0.3945.79.

Console contains the following error:

main.js:15370 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
    at get (main.js:15370)
    at async Promise.all (/altfuturedoo/dv/pull-requests/index 0)
    at async addSideBarCounters (main.js:18175)
get @ main.js:15370
async function (async)
addSideBarCounters @ main.js:18167
init @ main.js:17124
(anonymous) @ main.js:17088
Promise.then (async)
(anonymous) @ main.js:17082
./src/main.js @ main.js:17252
__webpack_require__ @ main.js:20
(anonymous) @ main.js:84
(anonymous) @ main.js:87

Which refers to the line:
const [branches, pullrequests] = await Promise.all([_api.default.getBranches(), _api.default.getPullrequests()]);

@reyronald
Copy link
Member

Hmm weird, I can't reproduce this :S. It works fine for me. Are you logged in when you see this error? Do you get this same error when viewing the pull request list?

Maybe try uninstalling and re-installing the extension?

@bgr
Copy link
Author

bgr commented Dec 16, 2019

Yes, I'm logged in. My two colleagues who also use the extension and access the same Bitbucket project don't have the problem (Chrome and Firefox). I tried clearing all Atlassian and Bitbucket related cookies, and I've just tried re-installing, didn't help. I don't have adblock / privacy extensions enabled for Bitbucket.
I'll keep an eye on it and try to debug it some more if I get time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants