Last modified: 2014-11-20 23:08:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75633, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73633 - WikiGrok broken in beta - JS error
WikiGrok broken in beta - JS error
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-20 01:32 UTC by Ryan Kaldari
Modified: 2014-11-20 23:08 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Kaldari 2014-11-20 01:32:53 UTC
If you try to load WikiGrok on Beta Labs, it doesn't load and a Javascript error is thrown: Attempt to run module outside declared environment mode beta
Comment 1 Gerrit Notification Bot 2014-11-20 01:34:14 UTC
Change 174616 had a related patch set uploaded by Kaldari:
Disabling mobile infobox experiment for now - throwing JS error

https://gerrit.wikimedia.org/r/174616
Comment 2 Gerrit Notification Bot 2014-11-20 01:47:13 UTC
Change 174616 merged by jenkins-bot:
Disabling mobile infobox experiment for now - throwing JS error

https://gerrit.wikimedia.org/r/174616
Comment 3 Gerrit Notification Bot 2014-11-20 01:51:32 UTC
Change 174620 had a related patch set uploaded by Kaldari:
Disabling mobile infobox experiment for now - throwing JS error

https://gerrit.wikimedia.org/r/174620
Comment 4 Jon 2014-11-20 05:13:25 UTC
can you elaborate. infobox should only be loading in alpha. of it's leaking to beta something is seriously wrong.

PS. please please please can we not self merge. I keep telling you this. It's not hard to get someone to +2 in our team size and I suspect you have misunderstood the problem here.
Comment 5 Ryan Kaldari 2014-11-20 05:27:26 UTC
Jon: I didn't self merge. Max merged it. Also I'm not sure what you mean about misunderstanding the problem. I haven't claimed to understand the problem at all. I just disabled it for the time being. I didn't try to fix anything (other than to stop the JS error).
Comment 6 Ryan Kaldari 2014-11-20 05:41:30 UTC
I think I found the problem: mobile.wikigrok.dialog has mobile.alpha listed as a dependency, thus it's going to try to run anything in mobile.alpha when wikigrok loads in beta. I'll fix it up and turn the infoboxes back on.
Comment 7 Gerrit Notification Bot 2014-11-20 05:42:50 UTC
Change 174620 abandoned by Kaldari:
Disabling mobile infobox experiment for now - throwing JS error

Reason:
Found the root cause...

https://gerrit.wikimedia.org/r/174620
Comment 8 Jon 2014-11-20 05:45:23 UTC
That sounds right :) I'm here to +2 the patch...
Comment 9 Gerrit Notification Bot 2014-11-20 05:56:32 UTC
Change 174631 had a related patch set uploaded by Kaldari:
Fixing dependency for mobile.wikigrok.dialog

https://gerrit.wikimedia.org/r/174631
Comment 10 Ryan Kaldari 2014-11-20 06:04:46 UTC
Patch submitted and waiting for +2 :)

If you're wondering why I turned infoboxes off without troubleshooting it further, it's because Maryana told me it was broken right as I was about to leave work, so I just traced the error and did a temporary fix (which would have been easier with a feature flag).
Comment 11 Jon 2014-11-20 06:06:11 UTC
Needs work. Am on irc if you need to chat on can fix up myself.
Comment 12 Gerrit Notification Bot 2014-11-20 09:27:53 UTC
Change 174631 merged by jenkins-bot:
Fixing dependency for mobile.wikigrok.dialog

https://gerrit.wikimedia.org/r/174631
Comment 13 Gerrit Notification Bot 2014-11-20 18:26:24 UTC
Change 174749 had a related patch set uploaded by Kaldari:
Fixing dependency for mobile.wikigrok.dialog

https://gerrit.wikimedia.org/r/174749
Comment 14 Gerrit Notification Bot 2014-11-20 23:08:48 UTC
Change 174749 merged by MaxSem:
Fixing dependency for mobile.wikigrok.dialog

https://gerrit.wikimedia.org/r/174749

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links