Bug 1371 - mediawiki-bugzilla bar and pie charts are not working
Summary: mediawiki-bugzilla bar and pie charts are not working
Status: CONFIRMED
Alias: None
Product: General
Classification: JogAmp
Component: website (show other bugs)
Version: tbd
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2019-04-04 17:15 CEST by Sven Gothel
Modified: 2019-04-04 17:16 CEST (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2019-04-04 17:15:54 CEST
See https://github.com/mozilla/mediawiki-bugzilla/issues/104

Yes, we have created the '$wgBugzillaChartStorage' 'charts' folder w/ proper permissions for the apache2 server.

However, if trying to get charts working, bar or pie, we either get the error:

" Bugzilla query error
Notice: Array to string conversion in /srv/www/jogamp.org/mediawiki-git-1.32/extensions/Bugzilla/templates/error.tpl on line 5 error, http-bad-status, Array"

or the resulting images are corrupt / buggy.

+++

Our test page: https://jogamp.org/wiki/index.php/Test01

== bar 1 ==

{
"version": "2.4.0",
"x_axis_field": "status"
}

== bar 2 ==

{
"version": "2.4.0",
"y_axis_field":"percent_complete",
"x_axis_field": "status"
}

== pie 1 ==

{
"version": "2.4.0",
"x_axis_field": "status"
}

== pie 2 ==

{
"version": "2.4.0",
"y_axis_field":"percent_complete",
"x_axis_field": "status"
}