Skip Menu |

This queue is for tickets about the Google-Chart CPAN distribution.

Report information
The Basics
Id: 60522
Status: new
Priority: 0/
Queue: Google-Chart

People
Owner: Nobody in particular
Requestors: chad.a.davis [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05014
Fixed in: (no value)



Running tests on Google::Chart 0.05014 I get ./t/00_compile.t ....... 1/33 You cannot coerce an attribute (marker) unless its type (Google::Chart::Marker) has a coercion at lib/Google/Chart.pm line 92 I traced this to Google::Chart::marker which sets coerce => 1 I disabled this coercion (doesn't seem to make sense for marker, being an array of objects). All tests pass for me now. Moose 1.09 perl, v5.10.0 built for i386-linux-thread-multi Fedora release 11 (Leonidas) - Chad
Subject: Chart.pm.patch
--- lib/Google/Chart.pm.bak 2010-08-19 15:52:46.632295458 +0200 +++ lib/Google/Chart.pm 2010-08-19 15:52:57.215295864 +0200 @@ -63,7 +63,6 @@ marker => { is => 'rw', isa => 'Google::Chart::Marker', - coerce => 1, }, axis => { is => 'rw',