View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06385Bug reportsStatisticspublic2012-07-25 13:39
Reporterjcleeland Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC7 
Summary06385: Graphs produces "Undefined offset: 8 " error when there are more than 7 items to display
Description

Graphs produces "Undefined offset: 8 " error when there are more than 7 items to display
Whenever a bar graph would have more than 7 items in it, the following error occurs:

Undefined offset: 8

D:\xampp\htdocs\LimeSurvey_Yii\application\third_party\pchart\pchart\pChart.class(1955)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)201207
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)Windows
Webserver software & version (if known)ApacheII
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

jcleeland

jcleeland

2012-07-25 13:38

reporter   ~19960

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9117

Related Changesets

LimeSurvey: Yii 5b35da89

2012-07-25 04:38:24

jcleeland

Details Diff
Fixed issue 06385 - Graphs produces "Undefined offset: 8" error when there are more than 7 items to display. Problem was the directory location of the pchart color palette. Also some code tidying, changing db calls to use standard Yii models rather than raw SQL. Also fixed bug caused when the 'statistics_graphtype' question attribute did not exist. Affected Issues
06385
mod - application/helpers/admin/statistics_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-07-25 13:28 jcleeland New Issue
2012-07-25 13:28 jcleeland Status new => assigned
2012-07-25 13:28 jcleeland Assigned To => jcleeland
2012-07-25 13:38 jcleeland Changeset attached => LimeSurvey Yii 5b35da89
2012-07-25 13:38 jcleeland Note Added: 19960
2012-07-25 13:38 jcleeland Resolution open => fixed
2012-07-25 13:39 jcleeland Status assigned => closed