Page MenuHomePhabricator

Gadget on IdeaLab to create new idea fails
Closed, InvalidPublic

Description

The gadget to create new ideas at m:Grants:IdeaLab/Ideas#idealab-new fails. Load the page, open the console log, and click "Create your idea" in the yellow blob. The throbber starts, but nothing more happen. In the log you will get an error message.

Event Timeline

jeblad renamed this task from IdeaLab, gadget to create new idea fails to Gadget on IdeaLab to create new idea fails.Jan 17 2018, 12:52 PM

I click that link and get a popup dialog "Let's create your idea!" Hence cannot reproduce. Firefox 57.
Please do post complete error messages instead of only mentioning that "you will get an error message". Saves one roundtrip of communication. Thanks.

I've also tried reproducing this error, but I have not been successful with a few different browsers.

Interesting, I still got the problem in Firefox 57.0.4

Here is a slightly unreadable dump

JQMIGRATE: Migrate is installed with logging active, version 3.0.1
load.php:10307:2
GETXHR
https://meta.wikimedia.org/w/api.php
[HTTP/2.0 200 OK 185ms]
JQMIGRATE: jQuery.fn.bind() is deprecated
load.php:10340:4
JQMIGRATE: jQuery.fn.offset() requires a valid DOM element
load.php:10340:4
GETXHR
https://meta.wikimedia.org/w/api.php
[HTTP/2.0 200 OK 218ms]
GETXHR
https://meta.wikimedia.org/w/index.php
[HTTP/2.0 200 OK 191ms]
jQuery.Deferred exception: JSON.parse: bad control character in string literal at line 1 column 3 of the JSON data fStringDouble@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1138:14
findToken/<@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1087:24
some@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1066:13
findToken@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1080:16
makeLexer/<@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1094:23
transform@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1255:18
parse@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1537:25
@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=ext.gadget.formWizard-core&only=scripts&skin=vector&version=13vthv7:1010:18
mightThrow@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=14kbqyi:3583:21
resolve/</process<@https://meta.wikimedia.org/w/load.php?debug=true&lang=nb&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=14kbqyi:3651:12
 undefined
load.php:3860:3

Tried an incognito window in Chromium, same thing happen there.
Also tested Norwegian Bokmål and English, and same thing still happen.

Note that I has done a forced reload.

Switched to a bot account and then it works…

I did some work on a form wizzard sequence some time ago, perhaps I've added some kind of override and forgot the whole thing. I thought I moved this to nowiki, but perhaps I didn't do it… The pages are stored at User:Jeblad/Gadget-formWizard-core.js and User:Jeblad/Gadget-formWizard/Jeblad/Grend, but they are not loaded as far as I'm able to figure out.

Unless someone else find a bug somewhere, I guess you should assume it is local to my account!

I'll close this, it has to be something with my account.