Last modified: 2013-09-23 09:43:49 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 T50944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48944 - SemanticResultFormats jqplotseries Javascript exception
SemanticResultFormats jqplotseries Javascript exception
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
master
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 15:39 UTC by Jamie Thingelstad
Modified: 2013-09-23 09:43 UTC (History)
3 users (show)

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


Attachments

Description Jamie Thingelstad 2013-05-29 15:39:24 UTC
I'm using the master branch of SMW and Semantic Results Formats with MW 1.21.0.

The jqplotseries is throwing Javascript errors in Chrome and Safari, but not in Firefox. Test URLs:

http://semantic-mediawiki.org/wiki/Demo:Jqplotseries/Survey

http://wikiapiary.com/wiki/User:Thingles/Scratch5

If you set debug=true in Safari and Chrome it will work. Without it the errors are:

Exception thrown by ext.jquery.jqplot.enhancedlegend: Cannot set property 'EnhancedLegendRenderer' of undefined

Exception thrown by ext.srf.jqplot.chart: Object [object Object] has no method 'srfjqPlotBarChartData'
Comment 1 MWJames 2013-05-29 16:06:58 UTC
Using debug=true is to circumvent the ResourceLoader which indicates that the format (and its JS) itself is working (otherwise it wouldn't work at all in neither browser under no conditions).

Further it is to note that nothing has changed with this format (JS files) or its resource definitions since 2012-10-12 and earlier versions of MW 1.21 (or 1.20, 1.19) did not show any of the described behaviours which lends itself to a conclusion that something in the ResourceLoader has changed. It correlates with other findings earlier reported here [1]/[2] but MW-core developers have denied such attribution.

[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401#c20

[2] https://gerrit.wikimedia.org/r/#/c/64128/
Comment 2 Gerrit Notification Bot 2013-09-04 22:28:21 UTC
Change 82757 had a related patch set uploaded by Mwjames:
(Bug 48944) RL rearrange resource dependencies

https://gerrit.wikimedia.org/r/82757
Comment 3 Gerrit Notification Bot 2013-09-04 22:30:41 UTC
Change 82757 merged by jenkins-bot:
(Bug 48944) RL rearrange resource dependencies

https://gerrit.wikimedia.org/r/82757
Comment 4 MWJames 2013-09-23 09:43:49 UTC
Mark this as solved as with the current Semantic MediaWiki (Version 1.9 alpha-3) (ac48012), Semantic Result Formats (Version 1.9 alpha) (feb2a7d) the problem can no longer be verified on MediaWiki 1.22alpha (ae44cfb) or MediaWiki 1.21.2 (2255287).

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


Navigation
Links