Last modified: 2009-08-19 06:52:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 20264 - Invoking Exhibit result printer with OntoSkin2 activated causes stack overflow
Invoking Exhibit result printer with OntoSkin2 activated causes stack overflow
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Fabian Howahl
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-15 16:18 UTC by Fabian Howahl
Modified: 2009-08-19 06:52 UTC (History)
2 users (show)

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


Attachments

Description Fabian Howahl 2009-08-15 16:18:43 UTC
Using the Exhibit result printer with an SMW whose skin is Ontoskin2 leads to a stack overflow (IE shows a pop-up message). The root cause turns out to be the slider that allows for resizing the left menu bar (commenting out the reference to sliderskin.js in the skin file fixes the problem). 
The Exhibit JavaScript code seems to interfere with the onChange callback function declared/used in slider.js and sliderskin.js. Renaming the function makes things work again.
Comment 1 Markus Krötzsch 2009-08-16 12:28:38 UTC
Any JavaScript should use prefixes (like "smw" in Semantic MediaWiki) to avoid name clashes. They are really tricky and hard to debug. In any case, this is a bug both in SRF and in Halo's OntoSkin. The according Halo bug report is at http://smwforum.ontoprise.com/smwbugs/show_bug.cgi?id=10810
Comment 2 Markus Krötzsch 2009-08-19 06:52:08 UTC
It turns out that the cause of the problem is really in the OntoSkin JavaScript, while the name clash with Exhibit only makes the problem visible. See above OntoSkin bug report for details. I close this SRF bug as INVALID, since SRF is not the cause of the problem. In general, it would still be good if Exhibit could obey own naming conventions for its functions, but the Exhibit code again is not developed in SRF, so it seems to make little sense to have a bug report for this issue here (maybe one could file this as a report to the Exhibit maintainers).

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


Navigation
Links