Bug 1371

Summary: mediawiki-bugzilla bar and pie charts are not working
Product: [JogAmp] General Reporter: Sven Gothel <sgothel>
Component: websiteAssignee: Sven Gothel <sgothel>
Status: CONFIRMED ---    
Severity: normal    
Priority: P4    
Version: tbd   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

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"
}