Skip Menu |

This queue is for tickets about the Catalyst-Plugin-DBIC-Schema-Profiler CPAN distribution.

Report information
The Basics
Id: 53355
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-DBIC-Schema-Profiler

People
Owner: ryuzo.yamamoto [...] gmail.com
Requestors: perl [...] rainboxx.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Tries to access storage() on model()
Hi,

I'm using this profiler on my dev system.  It chrashed recently and I had to reinstall many things, so this issue *may* be caused through something I'm missing...

On line 43 in Catalyst/Plugin/DBIC/Schema/Profiler.pm you access storage() directly on model() which causes an error with Catalyst version 5.80016 and DBIx::Class version 0.08115.  If you change the lines 43 and 44 into:

  $c->model($model_name)->schema->storage->...

it works again.

Regards,
  matt
Hi, matt

Thank you for your report.
I'm working on applying your patch (lines 43 and 44).

Thanks!

Regards,
Ryuzo Yamamoto

On 2010-1月-04 月 18:02:59, MDIETRICH wrote:
Show quoted text
> Hi,
>
> I'm using this profiler on my dev system. It chrashed recently and I had to
> reinstall many things, so this issue *may* be caused through something I'm
> missing...
>
> On line 43 in Catalyst/Plugin/DBIC/Schema/Profiler.pm you access storage()
> directly on model() which causes an error with Catalyst version 5.80016 and
> DBIx::Class version 0.08115. If you change the lines 43 and 44 into:
>
> $c->model($model_name)->schema->storage->...
>
> it works again.
>
> Regards,
> matt


Shipped Catalyst-Plugin-DBIC-Schema-Profiler-0.05. Thank you very much, Matthias!