Bitbucket just got broken for PM! Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
dinosaur
Fanatic
Fanatic
Posts: 236
Joined: 2014-06-03, 09:26
Location: France

Bitbucket just got broken for PM!

Post by dinosaur » 2021-01-15, 01:15

Another Javascript issue is creeping up, and this time in bitbucket:
bitbucket.png
Firefox works fine (tested with v84.0.2).
You do not have the required permissions to view the files attached to this post.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2578
Joined: 2018-05-05, 13:29

Re: Bitbucket just got broken for PM!

Post by vannilla » 2021-01-15, 02:07

It's a known issue and there's a bounty on it.
For those not knowing about the bounty program, it means the task is difficult to some extent and the developers are offering money to anyone successfully tackling it.

Pentium4User
Board Warrior
Board Warrior
Posts: 1332
Joined: 2019-04-24, 09:38

Re: Bitbucket just got broken for PM!

Post by Pentium4User » 2021-01-15, 05:13

Off-topic:
How is this window theme called?

User avatar
EMH_Mark_I
Moonbather
Moonbather
Posts: 72
Joined: 2017-06-09, 22:23
Location: Texas

Re: Bitbucket just got broken for PM!

Post by EMH_Mark_I » 2021-01-15, 05:35

Pentium4User wrote:
2021-01-15, 05:13
Off-topic:
How is this window theme called?
Off-topic:
Crux. It use to be available in the xfwm4-themes package on Debian Stretch, but I haven't seen that package in awhile now. You can still download it from the package archive. You'll have to extract the contents from the deb file.
Debian Trixie | KDE Plasma

dinosaur
Fanatic
Fanatic
Posts: 236
Joined: 2014-06-03, 09:26
Location: France

Re: Bitbucket just got broken for PM!

Post by dinosaur » 2021-01-15, 09:00

vannilla wrote:
2021-01-15, 02:07
It's a known issue.
Nope, this is a new issue: it happened an hour or so before I posted this report Before that I could browse commits on github (doing it daily, as a developer) and only a few (totally dispensable) features were not working. Now, all I get is a blank page and I have no other choice than using another (lesser) browser to work with github... :-(

PS: as for the the theme, yes, it's Crux (GTK2 theme only, alas). Using Sawfish as the window manager and a patched version of MATE v1.14 (last GTK2 compatible version). I hate the ugly flat themes imposed nowadays, and GTK3.

dinosaur
Fanatic
Fanatic
Posts: 236
Joined: 2014-06-03, 09:26
Location: France

Re: Bitbucket just got broken for PM!

Post by dinosaur » 2021-01-15, 09:42

It seems this issue got acknowledged by bitbucket (it also affects other browsers, including older Firefox versions). See this message.

dinosaur
Fanatic
Fanatic
Posts: 236
Joined: 2014-06-03, 09:26
Location: France

Re: Bitbucket just got broken for PM!

Post by dinosaur » 2021-01-15, 10:37

Posted a support ticket (with same screen shot). Got a reply from bitbucket and issue is now fixed after I suggested they simply revert the culprit script... :roll:

User avatar
Moonchild
Project founder
Project founder
Posts: 39699
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Bitbucket just got broken for PM!

Post by Moonchild » 2021-01-15, 11:50

dinosaur wrote:
2021-01-15, 09:00
Nope, this is a new issue
Nope it's a known web compatibility issue in UXP in general. We have an open issue in our tracker for it. (optional chaining)
Solution for this is simple on the web server side, simply don't try to shorthand everything and do a check for the object before checking the sub property.
So :
e?.account_id should be a check for (e && e.account_id) to check if e isn't null or undefined first before trying to access the account_id property.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

New Tobin Paradigm

Re: Bitbucket just got broken for PM!

Post by New Tobin Paradigm » 2021-01-15, 12:02

Their wording and the fact they didn't think to simply revert the code just proves everything we been saying for years. Not only are they doing this shit without thinking they also aren't testing anything properly.

dinosaur
Fanatic
Fanatic
Posts: 236
Joined: 2014-06-03, 09:26
Location: France

Re: Bitbucket just got broken for PM!

Post by dinosaur » 2021-01-15, 12:22

New Tobin Paradigm wrote:
2021-01-15, 12:02
Their wording and the fact they didn't think to simply revert the code just proves everything we been saying for years. Not only are they doing this shit without thinking they also aren't testing anything properly.
+1

At least, they reacted quickly and appropriately, and they just apologized:
Dheeraj commented:

Thanks for your reply.

Initially, it seemed like the issue was related to the browser version as some users(especially Firefox users) confirmed that it worked fine after updating their browser to the latest version.

But you are right, the issue was due to a script. Our development team has rolled back the script changes and fixed the issue now.

Kindly verify if it is working fine on your end.

If you experience any further issues please let us know by responding to this ticket.

We apologize for the inconvenience caused due to this issue.

Best Regards,
Dheeraj B
Bitbucket Cloud Support