Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 76808
Status: rejected
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: hsalih [...] newswire.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08124
Fixed in: (no value)



Subject: inner_join_to_node error on replicated schema
This is my first bug report here so apologies if I don't get it right. Not even sure if it's a bug but I could find no reference to it online. Problem Description: We are trying to use DBIx::Class::Storage::Replicated to write to a single master and read from multiple read-only replicants. The change was attempted on top of an existing Catalyst::DBIx::Schema that was not replicated prior. Instances of $rs->related_resultset('first_rel')- Show quoted text
>related_resultset('second_rel')->search() is failing with the following
error: "_inner_join_to_node must not be called on DBIx::Class::Storage::DBI::Replicated Objects" Implications: We can work around the issue by rewriting these references. However, it defeats the declared "transparency" intention of the module. The error is generated by Replicated.pm as per this snippet: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx- Class.git;a=commitdiff_plain;h=7f4433eb9bbe0650b4f5e2dff8bf817f4d28d3df Catalyst version: perl-Catalyst-Devel-1.08-1.el5.rf ( DBIx RPM version: perl-DBIx-Class-0.08124-1 Perl: 5.8.8 OS: RHEL5 2.6.18-308.el5
Show quoted text
> Catalyst version: perl-Catalyst-Devel-1.08-1.el5.rf ( > DBIx RPM version: perl-DBIx-Class-0.08124-1 > Perl: 5.8.8 > OS: RHEL5 2.6.18-308.el5
This is a duplicate of bug 66295, fixed as of DBIC 0.08191. Please upgrade. Cheers