Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 91256
Status: new
Priority: 0/
Queue: DBIx-Class-DynamicDefault

People
Owner: Nobody in particular
Requestors: SKAUFMAN [...] cpan.org
Cc:
AdminCc:

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



Subject: DBIx::Class::DynamicDefault doesn't pass along args to next::method in update
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-11214-1386548994-1727.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 448
Download (untitled) / with headers
text/plain 448b
I'm using 'FilterColumn' which relies on reading the $attrs in update. DynamicDefault doesn't pass along the @_ to next::method: https://metacpan.org/source/MSTROUT/DBIx-Class-DynamicDefault-0.04/lib/DBIx/Class/DynamicDefault.pm#L127 I'm not sure if this was intentional or not. The easy "fix" for me would be changing the order of the components so FilterColumns ->update runs first, but seems like it should just pass along @_ like insert does.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.